Bar

BarShortcut.ToString() Method

Returns the string representation of this shortcut.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public override string ToString()
Public Overrides Function ToString As String

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