Bar

BarShortcut(Keys, Keys) Constructor

Creates a shortcut that consists of two key combinations.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public BarShortcut(
    Keys key,
    Keys secondKey
)
Public Sub New(
    key As Keys,
    secondKey As Keys
)

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