Skip to main content
A newer version of this page is available. .
Bar

BarItem.Hint Property

Specifies the bar item’s regular hint.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
public virtual string Hint { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the bar item’s regular hint.

Remarks

Bar items support regular(simple) tooltips and SuperToolTip objects (tooltips that support multiple text and image regions). The type of tooltips displayed for bar items is determined by a ToolTipController object (by default, by the DefaultToolTipController). The BarItem.SuperTip property allows you to assign a SuperToolTip object to the bar item. The Hint property specifies a regular hint shown. It is displayed in the following image:

Hint wo ShortCut

To enable hints, ensure that the BarManager.ShowScreenTipsInToolbars property is set to true (the default value). If the BarManager.ShowShortcutInScreenTips property is also set to true, the shortcut key combination of a specific item link is displayed in the hint.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Hint property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also