BarItemLink.GetSuperTip() Method
Gets a SuperToolTip object for the current BarItemLink.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Returns
Type | Description |
---|---|
SuperToolTip | A SuperToolTip object for the current BarItemLink. |
Remarks
The type of tooltips, displayed for bar item links, is determined by a ToolTipController (by default, by the DefaultToolTipController). If the ToolTipController.ToolTipType property is set to SuperTip, SuperToolTips, rather than regular tooltips, are displayed for bar item links. If a regular tooltip is assigned to a bar item, it will be transformed into a SuperToolTip object and displayed onscreen.
The GetSuperTip method returns a SuperToolTip object that has been explicitly assigned to a bar item. If no SuperToolTip has been explicitly assigned, the method transforms the bar item’s regular tooltip to a new SuperToolTip and then returns this object.
To specify a regular tooltip and SuperToolTip object for a bar item, use the BarItem.Hint and BarItem.SuperTip properties.