IModelAction.Shortcut Property
In This Article
Defines the keyboard shortcut used to execute the current Action. Has effect in WinForms applications only.
Namespace: DevExpress.ExpressApp.Model
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Remarks
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:
- A string representation of a System.Windows.Forms.Shortcut enumeration value (for example, CtrlShiftO).
- A string representation of a System.Windows.Forms.Keys enumeration value (for example, LShiftKey).
- Several string representations of System.Windows.Forms.Keys values separated by “+” (for example, Control+Shift+O).
The table below contains default shortcuts that you can use to execute Actions in XAF Windows Forms Applications.
Action | Shortcut |
---|---|
Navigate |
Alt |
Navigate |
Alt |
New | Ctrl |
Save | Ctrl |
Delete | Ctrl |
Save |
Control+Enter |
Refresh | F5 |
Edit |
Ctrl |
Print (from the Printing Module) | Ctrl |
Open (from the File |
Ctrl |
Save |
Ctrl |
See Also