In This Article

RibbonControlGroupViewModel Class

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

public class RibbonControlGroupViewModel : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

RibbonControlGroupViewModel()

Initializes an instance of the class.

public RibbonControlGroupViewModel()

Properties

HorizontalContentAlignment

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

public HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment:

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

IsVisible

Gets or sets whether the control is currently visible.

public bool IsVisible { get; set; }

Property Value

bool:

The default value is true.

ItemVariantBehavior

Gets or sets an ItemVariantBehavior that indicates how variant sizes should be applied to items.

public ItemVariantBehavior ItemVariantBehavior { get; set; }

Property Value

ItemVariantBehavior:

An ItemVariantBehavior that indicates how variant sizes should be applied to items. The default value is All.

Items

Gets the collection of items in the control.

public ObservableCollection<object> Items { get; }

Property Value

ObservableCollection<object>:

The collection of items in the control.

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 the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members