Represents a view model for a launcher button control within a ribbon group.
- Inheritance:
-
object
Observable
Object BarBase Keyed objectObject View Model Base
Constructors
RibbonGroupLauncherButtonViewModel()
Initializes a new instance of the class.
RibbonGroupLauncherButtonViewModel(string?)
Initializes a new instance of the class with the specified key. The label and key tip text are auto-generated.
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.
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.
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.
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.
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.
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.
Property Value
CommandParameter
The parameter to pass to the Command property.
Property Value
Description
The text description to display in screen tips.
Property Value
IsVisible
Indicates whether the control is currently visible.
Property Value
- bool:
The default value is
true
.
KeyTipText
The key tip text used to access the control.
Property Value
Label
The text label to display.
Property Value
SmallIcon
The object representing a small icon, generally 16x16
size.
Property Value
Title
The string title, which can override the Label when displayed in screen tips and customization UI.
Property Value
Inherited Members
-
Bar
Keyed Object View Model Base. To String() -
Bar
Keyed Object View Model Base. Key -
Bar
Keyed Object View Model Base. Tag -
Observable
Object Base. On Property Changed(string) -
Observable
Object Base. On Property Changed(Property Changed Event Args) -
Observable
Object Base. On Property Changing(string) -
Observable
Object Base. On Property Changing(Property Changing Event Args) - ObservableObjectBase.SetProperty<T>(ref T, T, string)
-
Observable
Object Base. Property Changed -
Observable
Object Base. Property Changing -
object.
Get Type() -
object.
Memberwise Clone() -
object.
Equals(object) -
object.
Equals(object, object) -
object.
Reference Equals(object, object) -
object.
Get Hash Code()