The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

[DefaultValue(null)]
public string Shortcut { get; set; }
<DefaultValue(Nothing)>
Public Property Shortcut As String
[DefaultValue(null)]
public string Shortcut { get; set; }
<DefaultValue(Nothing)>
Public Property Shortcut As String
[DefaultValue(null)]
public string Shortcut { get; set; }
<DefaultValue(Nothing)>
Public Property Shortcut As String

Property Value

Type Default Description
String

null

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

Property Value

Type Default Description
String

null

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

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