Table of Contents

Interface ICommandKeyGestureService

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll
public interface ICommandKeyGestureService

Methods

BindKeyGestures(FrameworkElement, ILayoutItem)

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

void BindKeyGestures(FrameworkElement element, ILayoutItem layoutItem)

Parameters

element FrameworkElement

The associated element.

layoutItem ILayoutItem

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

GetPrimaryKeyGesture(CommandDefinitionBase)

KeyGesture GetPrimaryKeyGesture(CommandDefinitionBase commandDefinition)

Parameters

commandDefinition CommandDefinitionBase

Returns

KeyGesture