Skip to main content
.NET Framework 4.5.2+

IModelAction.Shortcut Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v22.1.dll


string Shortcut { get; set; }

Property Value

Type Description

A string specifying the current Action’s shortcut.


You can change or look up the Shortcut property’s value for each Action in the ActionDesign | Actions | <Action> node in the Model Editor.


This property derives its value from the ActionBase.Shortcut property, which defines default shortcuts.

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

The table below contains default shortcuts that you can use to execute Actions in XAF Windows Forms Applications.

Action Shortcut
NavigateBack AltLeftArrow
NavigateForward AltRightArrow
New CtrlN
Save CtrlS
Delete CtrlD
SaveAndClose Control+Enter
Refresh F5
EditModel CtrlShiftF1
Print (from the Printing Module) CtrlP
Open (from the FileAttachments module) CtrlO
SaveTo (from the FileAttachments module) CtrlShiftS
See Also