Skip to main content

CommandHotkeys(Key, ModifierKeys) Constructor

Initializes a new instance of the DiagramCommandsBase.CommandHotkeys class.

Namespace: DevExpress.Diagram.Core

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

Declaration

public CommandHotkeys(
    Key key,
    ModifierKeys modifierKeys = ModifierKeys.None
)

Parameters

Name Type Description
key Key

A System.Windows.Input.Key value that represents the shortcut key.

Optional Parameters

Name Type Default Description
modifierKeys ModifierKeys None

A System.Windows.Input.ModifierKeys value that represents the shortcut key modifiers.

See Also