Skip to main content

CommandHotkeys(Key, ModifierKeys) Constructor

Initializes a new instance of the DiagramCommandsBase.CommandHotkeys class.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

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