This project is read-only.
InputBindingsEventProcessor allow register InputBndings, it does similar to Control.InputBindings, but this implementation allows the coder to decide to run the UIEventProcessor before the InputBindings.

To use it, add this processor to UIEventAdapter.Processors, and register the appropriate bindings and commands.
<bc:InputBindingsEventProcessor >
    <bc:InputBindingsEventProcessor.InputBindings>
        <MouseBinding Command="ApplicationCommands.Open" MouseAction="LeftDoubleClick" />
        <KeyBinding Key="Back" Modifiers="Control" Command="NavigationCommands.BrowseHome" />

        <KeyBinding Key="A" Command="def:ExplorerCommands.UnselectAll" /> 
        <KeyBinding Key="C" Command="def:ExplorerCommands.ToggleCheckBox" />
        <KeyBinding Key="V" Command="def:ExplorerCommands.ToggleViewMode" />
    </bc:InputBindingsEventProcessor.InputBindings>
</bc:InputBindingsEventProcessor>

Last edited Mar 7, 2014 at 10:53 AM by lycj, version 1

Comments

No comments yet.