Table of Contents

Class CommandMouseShortcut

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll

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 MouseGesture

The associated mouse gesture.

sortOrder int

Sort order.

commandDefinition Func<CommandDefinitionBase>

The associated command definition.

viewModelType Type

Base type of the view model, where the shortcut belongs to.

Properties

CommandDefinition

Gets the command definition.

public CommandDefinitionBase CommandDefinition { get; }

Property Value

CommandDefinitionBase

MouseGesture

Gets the mouse gesture.

public MouseGesture MouseGesture { get; }

Property Value

MouseGesture

SortOrder

Gets the sort order.

public int SortOrder { get; }

Property Value

int

ViewModelType

Gets the base type of the view model, where the shortcut belongs to.

public Type ViewModelType { get; }

Property Value

Type