Interface ICommandKeyGestureService
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
FrameworkElementThe associated element.
layoutItem
ILayoutItemThe associated layout item. This is null for global commands.
GetPrimaryKeyGesture(CommandDefinitionBase)
KeyGesture GetPrimaryKeyGesture(CommandDefinitionBase commandDefinition)
Parameters
commandDefinition
CommandDefinitionBase