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

A Avalonia.Layout.HorizontalAlignment that indicates how items stacked vertically should be aligned horizontally.

public HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment:

The default value is Avalonia.Layout.HorizontalAlignment.Left.

IsVisible

Indicates whether the control is currently visible.

public bool IsVisible { get; set; }

Property Value

bool:

The default value is true.

ItemVariantBehavior

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

The collection of items in the control.

public ObservableCollection<object> Items { get; }

Property Value

ObservableCollection<object>

SeparatorMode

A RibbonControlGroupSeparatorMode indicating how separators should be positioned around the control.

public RibbonControlGroupSeparatorMode SeparatorMode { get; set; }

Property Value

RibbonControlGroupSeparatorMode:

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

Extension Methods