NavBarControl.ToolTipController Property
Gets or sets the tooltip controller component that controls the appearance, position and the content of the hints displayed by the XtraNavBar control.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.1.dll
NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
ToolTipController | null | The ToolTipController component which controls the appearance and behavior of the hints displayed by the XtraNavBar control. |
Remarks
The XtraNavBar control can display hints for its groups and item links. The availability of group hints is controlled by the NavBarControl.ShowGroupHint property. The tooltip text for a group and item is specified by their NavElement.Hint property. By default, hints display only the text specified and have the default shape and appearance. This is controlled by the default tooltip controller which can be accessed via the ToolTipController.DefaultController static member. Changing this object’s properties and handling its events affects how the hints for all the controls that don’t use custom tooltip controllers are displayed. Note that this object can be customized only at runtime.
The ToolTipController property allows a custom ToolTipController component which provides custom appearance and behavior settings for tooltips to be specified. This allows the tooltip settings to be customized at design time. For this purpose, place a ToolTipController component on the form, customize its properties and handle its events as needed.
For more information on using the tooltip controllers, see the Hints and Tooltips document.