In This Article

RibbonContextualTabGroupViewModel Class

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

public class RibbonContextualTabGroupViewModel : BarKeyedObjectViewModelBase, IHasKey
Inheritance:
object ObservableObjectBase BarKeyedObjectViewModelBase object
Implements:
IHasKey

Constructors

RibbonContextualTabGroupViewModel()

Initializes a new instance of the class.

public RibbonContextualTabGroupViewModel()

RibbonContextualTabGroupViewModel(string)

Initializes a new instance of the class with the specified key. The label is auto-generated.

public RibbonContextualTabGroupViewModel(string key)
Parameter Type Description
key string

A string that uniquely identifies the control.

RibbonContextualTabGroupViewModel(string, string)

Initializes a new instance of the class with the specified key and label.

public RibbonContextualTabGroupViewModel(string key, string label)
Parameter Type Description
key string

A string that uniquely identifies the control.

label string

The text label to display, which is auto-generated from the key if null.

Properties

IsActive

Gets or sets whether the contextual tab group is active and showing its tabs.

public bool IsActive { get; set; }

Property Value

bool:

true if the contextual tab group is active and showing its tabs; otherwise, false. The default value is false.

Label

Gets or sets the text label to display.

public string Label { get; set; }

Property Value

string:

The text label to display.

Inherited Members