Skip to main content

CommandHotkeys(Key, ModifierKeys) Constructor

Initializes a new instance of the DiagramCommandsBase.CommandHotkeys class.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v26.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

Declaration

public CommandHotkeys(
    Key key,
    ModifierKeys modifierKeys
)

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