BarShortcut.SecondKey Property

Gets the second key combination in the sequence.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


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

Property Value

Type Description

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


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