Skip to main content

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.v24.2.Core.dll

Declaration

public static DiagramCommandWithParameter GetKeyDownCommand(
    Key key,
    ModifierKeys modifiers
)

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