Skip to main content
A newer version of this page is available. .

ToolTipControllerShowEventArgs.ToolTipLocation Property

Gets or sets the location of the tooltip window relative to the position where the tooltip should appear.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public ToolTipLocation ToolTipLocation { get; set; }

Property Value

Type Description
ToolTipLocation

A ToolTipLocation value specifying the relative position of the tooltip window.

Available values:

Show 14 items
Name Description
BottomLeft

A tooltip appears vertically aligned at the bottom, and horizontally aligned on the left relative to the mouse cursor position.

ToolTipPosition_BottomLeft.gif

BottomCenter

A tooltip appears vertically aligned at the bottom, and horizontally centered relative to the mouse cursor position.

ToolTipPosition_BottomCenter.gif

BottomRight

A tooltip appears vertically aligned at the bottom, and horizontally aligned on the right relative to the mouse cursor position.

ToolTipPosition_BottomRight.gif

TopLeft

A tooltip appears vertically aligned at the top, and horizontally aligned on the left relative to the mouse cursor position.

ToolTipPosition_TopLeft.gif

TopCenter

A tooltip appears vertically aligned at the top, and horizontally centered relative to the mouse cursor position.

ToolTipPosition_TopCenter.gif

TopRight

A tooltip appears vertically aligned at the top, and horizontally aligned on the right relative to the mouse cursor position.

ToolTipPosition_TopRight.gif

LeftTop

A tooltip appears horizontally aligned on the left, and vertically aligned at the top relative to the mouse cursor position.

ToolTipPosition_LeftTop.gif

LeftCenter

A tooltip appears horizontally aligned on the left, and vertically centered relative to the mouse cursor position.

ToolTipPosition_LeftCenter.gif

LeftBottom

A tooltip appears horizontally aligned on the left, and vertically aligned at the bottom relative to the mouse cursor position.

ToolTipPosition_LeftBottom.gif

RightTop

A tooltip appears horizontally aligned on the right, and vertically aligned at the top relative to the mouse cursor position.

ToolTipPosition_RightTop.gif

RightCenter

A tooltip appears horizontally aligned on the right, and vertically centered relative to the mouse cursor position.

ToolTipPosition_RightCenter.gif

RightBottom

A tooltip appears horizontally aligned on the right, and vertically aligned at the bottom relative to the mouse cursor position.

ToolTipPosition_RightBottom.gif

Default

The default tooltip location.

Fixed

For internal use.

Remarks

See the ToolTipLocation topic for information on possible tooltip window positions.

When a tooltip is displayed for a RibbonControl’s bar item, its location is determined automatically. The ToolTipLocation setting is ignored in this instance.

To customize the relative position of the tooltip, you can handle the ToolTipController.CalcSize event.

To specify the amount of space between the tooltip and the associated visual element, use the ToolTipControllerShowEventArgs.ToolTipIndent property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToolTipLocation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also