BarShortcut(Keys) Constructor
In This Article
Creates an instance of the BarShortcut class with a predefined first key combination.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
key | Keys | A System. |
#Remarks
Use this constructor to create a new shortcut object with the specified first key combination. If you need to specify two key combinations for this shortcut, you can use the constructor with two parameters. The created shortcut can be assigned to the BarItem.ItemShortcut property of the desired item.
See Also