Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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