BarManager.ToolTipAnchor Property

Gets or sets the point relative to which tooltips are displayed for BarItems within a BarManager. This property is not supported for the RibbonControl.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


public ToolTipAnchor ToolTipAnchor { get; set; }
Public Property ToolTipAnchor As ToolTipAnchor

Property Value

Type Default Description


A value that specifies the point relative to which tooltips are displayed for BarItems within a BarManager


Tooltips for bar items can be specified with the BarItem.Hint or BarItem.SuperTip property.

When the ToolTipAnchor property is set to Cursor (the default value), tooltips are displayed relative to the mouse cursor at the position specified by the ToolTipController.ToolTipLocation property (for instance, this property can be accessed and modified by adding a DefaultToolTipController component onto the form). In the Cursor mode, a tooltip might overlap the current BarItemLink object (for instance, when you modify the ToolTipController.ToolTipLocation property, or when a large tooltip is displayed close to a screen edge).


Set the ToolTipAnchor property to BarItemLink to align tooltips by a BarItemLink's edge. In this mode, the ToolTipController.ToolTipLocation property is ignored. But, tooltips never overlap the current BarItemLink object, no matter how big the tooltip is.


See Also