Search
ComponentBase.OnKeyDown Method
See Also
 





Called when a key is pressed when this component has the input focus.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual bool OnKeyDown (
    Key keyCode,
    Key modifiers
)

Visual Basic  Copy Code

Public Overridable Function OnKeyDown( _
    keyCode As Key, _
    modifiers As Key _
) As Boolean

 Parameters

keyCode
A Key value that is the code of the pressed key.
modifiers
A Key value representing one or more modifier flags.

 Return Value

true if the component has handled the event; otherwise, false.

 See Also