Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarShortcut.ToString() Method

Returns the string representation of this shortcut.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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