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 |
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 isfalse
.
Label
Gets or sets the text label to display.
Inherited Members
- BarKeyedObjectViewModelBase.ToString()
- BarKeyedObjectViewModelBase.Key
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()