A newer version of this page is available. Switch to the current version.

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

When a flyout tooltip is shown with a beak, its location can be set to one of four positions: top center, bottom center, left center, or right center.

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.

See Also