Skip to main content
Bar

BarShortcut.Key Property

Gets the first key combination of a sequence.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public Keys Key { get; }

Property Value

Type Description
Keys

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

Remarks

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