BarItemLink.ShortCutDisplayText Property
Returns the string representation of the shortcut assigned to this link.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
String | The textual representation of the link’s shortcut. |
Remarks
Shortcuts can be assigned to links via the BarItem.ItemShortcut property of associated items. You can use the ShortCutDisplayText property to display the information about the assigned shortcut to end-users. This property is also used internally to display assigned shortcuts in link hints. The following condition must be met to display such tool tips:
- The BarManager.ShowScreenTipsInToolbars property must be set to true.
- The BarManager.ShowShortcutInScreenTips property must be set to true.
- The BarItem.Hint property of the item associated with this link must be set to a non-empty string.
You can use the ShortCutDisplayText property to display shortcut information for links associated with items whose BarItem.Hint property value is an empty string.