Table of Contents

Interface ICommandMouseGestureService

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll

Represents a mouse gesture service for commands.

public interface ICommandMouseGestureService

Methods

BindMouseGestures(FrameworkElement, ILayoutItem)

Binds a the mouse gestures to ui element and layout item.

void BindMouseGestures(FrameworkElement element, ILayoutItem layoutItem)

Parameters

element FrameworkElement

The associated element.

layoutItem ILayoutItem

The associated layout item. This is null for global commands.

GetPrimaryMouseGesture(CommandDefinitionBase)

Gets the mouse gesture for a command definition.

MouseGesture GetPrimaryMouseGesture(CommandDefinitionBase commandDefinition)

Parameters

commandDefinition CommandDefinitionBase

The command definition.

Returns

MouseGesture

The associated mouse gesture.