DiagramCommandsBase.GetKeyDownCommand(Key, ModifierKeys) Method

Gets the command associated with pressing down the specified key or key combination.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v20.2.Core.dll

Declaration

public static DiagramCommandWithParameter GetKeyDownCommand(
    Key key,
    ModifierKeys modifiers
)
Public Shared Function GetKeyDownCommand(
    key As Key,
    modifiers As ModifierKeys
) As DiagramCommandWithParameter

Parameters

Name Type Description
key Key

A key.

modifiers ModifierKeys

A set of modifier keys.

Returns

Type Description
DevExpress.Diagram.Core.Native.DiagramCommandWithParameter

The associated command.

See Also