Skip to main content
A newer version of this page is available. .

CommandHotkeys(Key, ModifierKeys) Constructor

Initializes a new instance of the DiagramCommandsBase.CommandHotkeys class.

Namespace: DevExpress.Diagram.Core

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

NuGet Packages: DevExpress.Diagram.Core, DevExpress.WindowsDesktop.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 0

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

See Also