BarShortcut.Key Property

Gets the first key combination of a sequence.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


public Keys Key { get; }
Public ReadOnly Property Key As Keys

Property Value

Type Description

A System.Windows.Forms.Keys enumeration value or a bitwise combination of these values specifying the first key combination in a sequence.


The BarShortcut object allows you to set up to two key combinations. If both are set and the object is assigned to the BarItem.ItemShortcut property of an item, end-users must consecutively press the first and the second combination to use the shortcut.

If you need to change any key combination in the sequence, recreate the BarShortcut object with the desired parameters.

See Also