Skip to main content

ToolTipControlInfo.ToolTipLocation Property

Gets or sets the tooltip location.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public ToolTipLocation ToolTipLocation { get; set; }

Property Value

Type Description
ToolTipLocation

A ToolTipLocation enumeration value.

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

A tooltip is shown in the location specified by the second parameter of the ShowHint(ToolTipControllerShowEventArgs, Point) overload.

Remarks

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 specify the amount of space between the tooltip and the associated visual element, use the ToolTipControlInfo.ToolTipIndent property.

See Also