Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
RegisterCommandAndKeyBinding Method (control, source)
Namespaces ► Genesyslab.Desktop.Infrastructure.Inputs ► IKeyboardManager ► RegisterCommandAndKeyBinding(UIElement, KeyBindingSource)
Registers the command and the key binding of a WPF control into the specify source (a parent window, the whole application, or a hotkey in the Windows desktop environement).
Declaration Syntax

C# | Visual Basic | Visual C++

    void RegisterCommandAndKeyBinding(
    	UIElement control,
    	KeyBindingSource source
    )

    Sub RegisterCommandAndKeyBinding ( _
    	control As UIElement, _
    	source As KeyBindingSource _
    )

    void RegisterCommandAndKeyBinding(
    	UIElement^ control,
    	KeyBindingSource source
    )

Parameters

control (UIElement)
  The control.

source (KeyBindingSource)
  The source of the key binding.

Assembly: Genesyslab.Desktop.Infrastructure (Module: Genesyslab.Desktop.Infrastructure) Version: 8.0.2.15 (8.0.002.15)