Bar

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

Declaration

[DXCategory("Layout")]
[DefaultValue(ToolTipAnchor.Cursor)]
public ToolTipAnchor ToolTipAnchor { get; set; }
<DXCategory("Layout")>
<DefaultValue(ToolTipAnchor.Cursor)>
Public Property ToolTipAnchor As ToolTipAnchor

Property Value

Type Default Description
ToolTipAnchor

Cursor

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

Remarks

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).

ToolTipAnchor-Cursor

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.

ToolTipAnchor-BarItemLink

See Also