wpf-devexpress-dot-xpf-dot-bars-dot-baritem-0bf1584b.md
Gets or sets the data representing the description of the bar item’s hint. This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public object Hint { get; set; }
Public Property Hint As Object
| Type | Description |
|---|---|
| Object |
The data representing the description of the bar item’s hint.
|
Bar items support regular hints and SuperTips. A SuperTip, if specified, has a higher priority than a regular hint.
A regular hint displays a BarItem’s caption (BarItem.Content), glyph (BarItem.Glyph), and the Hint object. If the Hint property is not specified, a regular hint is not displayed.
A SuperTip is an expandable tooltip that supports multiple regions. Tooltip regions are arranged one under another, and each can display a specific object and graphics. To specify a SuperTip for an item, use the BarItem.SuperTip property.
The BarManager.ShowScreenTips and BarItem.ShowScreenTip properties allow you to disable hints/SuperTips.
The following code snippets (auto-collected from DevExpress Examples) contain references 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.
wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L120
Description="Creates a new document."
Hint="Creates a blank document."
RibbonStyle="Large"/>
reporting-wpf-documentpreviewcontrol-customize-toolbar/CS/MainWindow.xaml#L53
Glyph="{dxp:PrintingResourceImage ResourceName='Images/BarItems/ExportPDF.svg'}"
Hint="{dxp:PrintingStringId StringId=ExportPdf}"
Command="{Binding Path=(dxp:DocumentPreviewControl.ActualViewer).ExportCommand,
See Also