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.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(ToolTipAnchor.Cursor)]
[DXCategory("Layout")]
public ToolTipAnchor ToolTipAnchor { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Tool |
Cursor | A value that specifies the point relative to which tooltips are displayed for Bar |
Available values:
Name | Description |
---|---|
Cursor | A tooltip is displayed relative to the mouse cursor at the position specified by the Tool |
Bar |
A tooltip is aligned with the left or right edge of a Bar |
#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).
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.