Volume Control
Application-specific hotkeys for Windows
|
Indicates that this is a hotkey action method. More...
Public Member Functions | |
HotkeyActionAttribute ([CallerMemberName] string methodName="") | |
Creates a new HotkeyActionAttribute instance with a name specified by methodName . More... | |
Properties | |
string | Name [get, set] |
Gets or sets the name of this hotkey action. More... | |
bool | UseExactName [get, set] |
Gets or sets whether the Name property is modified by inserting spaces between unseparated words. More... | |
string? | Description [get, set] |
Gets or sets the description string of this hotkey action. More... | |
string? | GroupNameOverride [get, set] |
Gets or sets the group name of this hotkey action, overriding whatever is specified by the action group. More... | |
string? | GroupColorOverride [get, set] |
Gets or sets the group color of this hotkey action, overriding whatever is specified by the action group. More... | |
Type? | DefaultDataTemplateProvider [get, set] |
Gets or sets the default DataTemplate provider type to use for this action's settings. More... | |
Indicates that this is a hotkey action method.
VolumeControl.Core.Attributes.HotkeyActionAttribute.HotkeyActionAttribute | ( | [CallerMemberName] string | methodName = "" | ) |
Creates a new HotkeyActionAttribute instance with a name specified by methodName .
methodName | The name of this hotkey action. If you do not provide one, the name of the method will be used automatically. |
References VolumeControl.Core.Attributes.HotkeyActionAttribute.Name.
|
getset |
Gets or sets the default DataTemplate provider type to use for this action's settings.
|
getset |
Gets or sets the description string of this hotkey action.
|
getset |
Gets or sets the group color of this hotkey action, overriding whatever is specified by the action group.
|
getset |
Gets or sets the group name of this hotkey action, overriding whatever is specified by the action group.
|
getset |
Gets or sets the name of this hotkey action.
This defaults to the name of the method that this attribute is attached to, with spaces inserted between each word. To use this exact string without changing it, set UseExactName to true
.
Referenced by VolumeControl.Core.Attributes.HotkeyActionAttribute.HotkeyActionAttribute().
|
getset |
Gets or sets whether the Name property is modified by inserting spaces between unseparated words.