Skip to main content
.NET Framework 4.6.2+

ActionBase.Shortcut Property

Defines the keyboard shortcut used to execute the current Action. Has effect in WinForms applications only.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(null)]
public string Shortcut { get; set; }

Property Value

Type Default Description
String null

A string holding the shortcut used to execute the current Action in a WinForms application.

Remarks

You can use this property to assign shortcuts for Actions in code. The Application Model considers the passed value as a default value for its IModelAction.Shortcut property. You can override this value in the ActionDesign | Actions | <Action> of the Model Editor.

Assign one of the following string values to the Shortcut property:

See Also