RibbonContextualTabGroupViewModel Class
Represents a view model for a contextual tab group control within a ribbon.
public class RibbonContextualTabGroupViewModel : BarKeyedObjectViewModelBase, INotifyPropertyChanged, IHasKey
- Inheritance:
- System.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 | System.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 | System.String | A string that uniquely identifies the control. |
label | System.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
- System.Boolean:
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.
public string Label { get; set; }
Property Value
- System.String:
The text label to display.
Inherited Members
- BarKeyedObjectViewModelBase.ToString()
- BarKeyedObjectViewModelBase.Key
- ObservableObjectBase.NotifyPropertyChanged(String)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.PropertyChanged
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()