Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarShortcut.SecondKey Property

Gets the second key combination in the sequence.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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