Skip to main content
Bar

BarShortcut.ToString() Method

Returns the string representation of this shortcut.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override string ToString()

Returns

Type Description
String

A string value that is the textual representation of the specified shortcut.

Remarks

You can use the textual representation of the shortcut to display information about it within hints or auxiliary controls. Note, that if the shortcut is assigned to an item, you can obtain its string representation via the BarItemLink.ShortCutDisplayText property of its links.

If two key combinations are specified for the shortcut, they are delimited by a comma in the returned string.

See Also