Class CommandMouseShortcut
Base class for a command mouse shortcut.
public abstract class CommandMouseShortcut
- Inheritance
-
CommandMouseShortcut
- Derived
- Inherited Members
Constructors
CommandMouseShortcut(MouseGesture, int, Func<CommandDefinitionBase>, Type)
Initializes a new instance of the CommandMouseShortcut class.
protected CommandMouseShortcut(MouseGesture mouseGesture, int sortOrder, Func<CommandDefinitionBase> commandDefinition, Type viewModelType)
Parameters
mouseGesture
MouseGestureThe associated mouse gesture.
sortOrder
intSort order.
commandDefinition
Func<CommandDefinitionBase>The associated command definition.
viewModelType
TypeBase type of the view model, where the shortcut belongs to.
Properties
CommandDefinition
Gets the command definition.
public CommandDefinitionBase CommandDefinition { get; }
Property Value
MouseGesture
Gets the mouse gesture.
public MouseGesture MouseGesture { get; }
Property Value
SortOrder
Gets the sort order.
public int SortOrder { get; }
Property Value
ViewModelType
Gets the base type of the view model, where the shortcut belongs to.
public Type ViewModelType { get; }