Class CommandMouseShortcut<TViewModel, TCommandDefinition>
Represents a command mouse shortcut for type of a command definition.
public class CommandMouseShortcut<TViewModel, TCommandDefinition> : CommandMouseShortcut where TViewModel : class where TCommandDefinition : CommandDefinition
Type Parameters
TViewModel
The base type of the view model, where the shortcut belongs to.
TCommandDefinition
The type of the command definition.
- Inheritance
-
CommandMouseShortcut<TViewModel, TCommandDefinition>
- Inherited Members
Constructors
CommandMouseShortcut(MouseGesture, int)
Initializes a new instance of the CommandMouseShortcut<TViewModel, TCommandDefinition> class.
public CommandMouseShortcut(MouseGesture mouseGesture, int sortOrder = 5)
Parameters
mouseGesture
MouseGestureThe associated mouse gesture.
sortOrder
intSort order.