Bar

BarShortcut(BarShortcut) Constructor

Creates an instance of the BarShortcut class using settings of the specified shortcut object.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public BarShortcut(
    BarShortcut shortcut
)
Public Sub New(
    shortcut As BarShortcut
)

Parameters

Name Type Description
shortcut BarShortcut

A BarShortcut object whose settings are copied to the created shortcut object.

Remarks

Use this constructor if you need to create a shortcut object based on the settings of an existing shortcut. The generated shortcut can be assigned to the BarItem.ItemShortcut property of the desired item.

See Also