Skip to main content
Bar

BarShortcut(Keys, Keys) Constructor

Creates a shortcut that consists of two key combinations.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public BarShortcut(
    Keys key,
    Keys secondKey
)

Parameters

Name Type Description
key Keys

A System.Windows.Forms.Keys enumeration value or a bitwise combination of these values that specifies the first key combination. This value is assigned to the BarShortcut.Key property.

secondKey Keys

A System.Windows.Forms.Keys enumeration value or a bitwise combination of these values that specifies the second key combination. This value is assigned to the BarShortcut.SecondKey property.

Remarks

Use this constructor to create a shortcut that consists of two key combinations. If you assign this shortcut (for instance, “CTRL+J, CTRL+K”) to an item, you cannot use the first combination (“CTRL+J”) alone for another item.

See Also