In This Article

RibbonControlGroupViewModel Class

Represents a view model for a control group control within a ribbon group.

public class RibbonControlGroupViewModel : ObservableObjectBase, INotifyPropertyChanged
Inheritance:
System.Object ObservableObjectBase Object

Constructors

RibbonControlGroupViewModel()

public RibbonControlGroupViewModel()

Properties

HorizontalContentAlignment

Gets or sets a System.Windows.HorizontalAlignment that indicates how items stacked vertically should be aligned horizontally.

public HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

System.Windows.HorizontalAlignment:

An ActiproSoftware.Windows.Controls.Bars.Mvvm.RibbonControlGroupViewModel.itemVariantBehavior that indicates how items stacked vertically should be aligned horizontally. The default value is Left.

Items

Gets the collection of items in the control.

public ObservableCollection<object> Items { get; }

Property Value

System.Collections.ObjectModel.ObservableCollection<System.Object>:

The collection of items in the control.

ItemVariantBehavior

Gets or sets an ActiproSoftware.Windows.Controls.Bars.Mvvm.RibbonControlGroupViewModel.itemVariantBehavior that indicates how variant sizes should be applied to items.

public ItemVariantBehavior ItemVariantBehavior { get; set; }

Property Value

ItemVariantBehavior:

An ActiproSoftware.Windows.Controls.Bars.Mvvm.RibbonControlGroupViewModel.itemVariantBehavior that indicates how variant sizes should be applied to items. The default value is All.

SeparatorMode

Gets or sets a RibbonControlGroupSeparatorMode indicating how separators should be positioned around the control.

public RibbonControlGroupSeparatorMode SeparatorMode { get; set; }

Property Value

RibbonControlGroupSeparatorMode:

A RibbonControlGroupSeparatorMode indicating how separators should be positioned around the control. The default value is Default.

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

System.String:

A string that represents the current object.

Inherited Members