[]
        
(Showing Draft Content)

C1.Win.C1Preview.KeyMapStack.CanHandle

CanHandle Method

CanHandle(Keys)

Tests whether the stack contains a keymap that can handle the keystroke.

Declaration
public bool CanHandle(Keys keyData)
Parameters
Type Name Description
Keys keyData

The keystroke to test.

Returns
Type Description
bool

True if a handler is found, false otherwise.

CanHandle(Keys, out KeyMap)

Tests whether the stack contains a keymap that can handle the keystroke.

Declaration
public bool CanHandle(Keys keyData, out KeyMap keyMap)
Parameters
Type Name Description
Keys keyData

The keystroke to test.

KeyMap keyMap

The keymap that can handle the keystroke.

Returns
Type Description
bool

True if a handler is found, false otherwise.