RibbonGroupLauncherButtonViewModel Class
Represents a view model for a launcher button control within a ribbon group.
public class RibbonGroupLauncherButtonViewModel : BarKeyedObjectViewModelBase, IHasKey
- Inheritance:
- object ObservableObjectBase BarKeyedObjectViewModelBase object
- Implements:
- IHasKey
Constructors
RibbonGroupLauncherButtonViewModel()
Initializes a new instance of the class.
public RibbonGroupLauncherButtonViewModel()
RibbonGroupLauncherButtonViewModel(string?)
Initializes a new instance of the class with the specified key. The label and key tip text are auto-generated.
public RibbonGroupLauncherButtonViewModel(string? key)
Parameter | Type | Description |
---|---|---|
key | string | A string that uniquely identifies the control. |
RibbonGroupLauncherButtonViewModel(string?, string?)
Initializes a new instance of the class with the specified key and label. The key tip text is auto-generated.
public RibbonGroupLauncherButtonViewModel(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 |
RibbonGroupLauncherButtonViewModel(string?, string?, string?)
Initializes a new instance of the class with the specified key, label, and key tip text.
public RibbonGroupLauncherButtonViewModel(string? key, string? label, string? keyTipText)
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 |
keyTipText | string | The key tip text, which is auto-generated from the |
RibbonGroupLauncherButtonViewModel(string?, string?, string?, ICommand?)
Initializes a new instance of the class with the specified key, label, key tip text, and command.
public RibbonGroupLauncherButtonViewModel(string? key, string? label, string? keyTipText, ICommand? command)
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 |
keyTipText | string | The key tip text, which is auto-generated from the |
command | ICommand | The command to attach to the control. |
RibbonGroupLauncherButtonViewModel(string?, string?, ICommand?)
Initializes a new instance of the class with the specified key, label, and command. The key tip text is auto-generated.
public RibbonGroupLauncherButtonViewModel(string? key, string? label, ICommand? command)
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 |
command | ICommand | The command to attach to the control. |
RibbonGroupLauncherButtonViewModel(string?, ICommand?)
Initializes a new instance of the class with the specified key and command. The label and key tip text are auto-generated.
public RibbonGroupLauncherButtonViewModel(string? key, ICommand? command)
Parameter | Type | Description |
---|---|---|
key | string | A string that uniquely identifies the control. |
command | ICommand | The command to attach to the control. |
Properties
Command
The ICommand to attach to the control.
CommandParameter
The parameter to pass to the Command property.
Description
The text description to display in screen tips.
IsVisible
Indicates whether the control is currently visible.
KeyTipText
The key tip text used to access the control.
Label
The text label to display.
SmallIcon
The object representing a small icon, generally 16x16
size.
Title
The string title, which can override the Label when displayed in screen tips and customization UI.
Inherited Members
- BarKeyedObjectViewModelBase.ToString()
- BarKeyedObjectViewModelBase.Key
- 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()