PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / KeyMapStack Class / CanHandle Method / CanHandle(Keys,KeyMap) Method
The keystroke to test.
The keymap that can handle the keystroke.

In This Topic
    CanHandle(Keys,KeyMap) Method
    In This Topic
    Tests whether the stack contains a keymap that can handle the keystroke.
    Syntax
    'Declaration
     
    Public Overloads Function CanHandle( _
       ByVal keyData As Keys, _
       ByRef keyMap As KeyMap _
    ) As Boolean
    public bool CanHandle( 
       Keys keyData,
       out KeyMap keyMap
    )

    Parameters

    keyData
    The keystroke to test.
    keyMap
    The keymap that can handle the keystroke.

    Return Value

    True if a handler is found, false otherwise.
    See Also