RibbonApplicationButtonViewModel Class
Represents a view model for an application button control within a ribbon.
public class RibbonApplicationButtonViewModel : ObservableObjectBase, IHasTag
- Inheritance:
- object ObservableObjectBase object
- Implements:
- IHasTag
Constructors
RibbonApplicationButtonViewModel()
Initializes an instance of the class.
public RibbonApplicationButtonViewModel()
RibbonApplicationButtonViewModel(string?)
Initializes an instance of the class with the specified label.
public RibbonApplicationButtonViewModel(string? label)
| Parameter | Type | Description |
|---|---|---|
| label | string | The text label to display. |
RibbonApplicationButtonViewModel(string?, string?)
Initializes an instance of the class with the specified label and key tip text.
public RibbonApplicationButtonViewModel(string? label, string? keyTipText)
| Parameter | Type | Description |
|---|---|---|
| label | string | The text label to display. |
| keyTipText | string | The key tip text, which is auto-generated from the |
Properties
KeyTipText
The key tip text used to access the control.
Label
The text label to display.
MenuAdditionalContent
The additional content that optionally appears on the right side of the menu.
MenuAdditionalContentTemplate
The DataTemplate used to display the menu additional content.
MenuAdditionalContentTemplateSelector
The DataTemplateSelector that picks a DataTemplate used to display the menu additional content.
public DataTemplateSelector? MenuAdditionalContentTemplateSelector { get; set; }
Property Value
MenuFooter
The footer content that optionally appears at the bottom of the menu.
MenuFooterTemplate
The DataTemplate used to display the menu footer content.
MenuFooterTemplateSelector
The DataTemplateSelector that picks a DataTemplate used to display the menu footer content.
public DataTemplateSelector? MenuFooterTemplateSelector { get; set; }
Property Value
MenuItems
The collection of items that appear within the menu.
Tag
A user-defined object attached to the control.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()