Back to Devexpress

BarItem.Hint Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritem-0bf1584b.md

latest3.3 KB
Original Source

BarItem.Hint Property

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

Declaration

csharp
public object Hint { get; set; }
vb
Public Property Hint As Object

Property Value

TypeDescription
Object

The data representing the description of the bar item’s hint.

|

Remarks

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

xml
Description="Creates a new document."
Hint="Creates a blank document."
RibbonStyle="Large"/>

reporting-wpf-documentpreviewcontrol-customize-toolbar/CS/MainWindow.xaml#L53

xml
Glyph="{dxp:PrintingResourceImage ResourceName='Images/BarItems/ExportPDF.svg'}"
Hint="{dxp:PrintingStringId StringId=ExportPdf}"
Command="{Binding Path=(dxp:DocumentPreviewControl.ActualViewer).ExportCommand,

See Also

ShowScreenTips

ShowScreenTip

SuperTip

BarItem Class

BarItem Members

DevExpress.Xpf.Bars Namespace