Skip to main content
Bar

BarShortcut.SecondKey Property

Gets the second key combination in the sequence.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Description
Keys

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

Remarks

The BarShortcut object enables you to create a shortcut consisting of two key combinations. If both combinations are specified, end-users have to press them consecutively to invoke the functionality of items that use this shortcut.

Note: if the SecondKey property value is Keys.None, the shortcut uses only the first key combination (that can be obtained via the BarShortcut.Key property).

If you want to change shortcut settings, you need to recreate the BarShortcut instance with the desired parameters.

See Also