Back to Devexpress

ToolTipLocation Enum

windowsforms-devexpress-dot-utils-5fd7029e.md

latest5.2 KB
Original Source

ToolTipLocation Enum

Specifies the location where a tooltip is displayed in relation to the mouse cursor position.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public enum ToolTipLocation
vb
Public Enum ToolTipLocation

Members

NameDescription
BottomLeft

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

| | BottomCenter |

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

| | BottomRight |

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

| | TopLeft |

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

| | TopCenter |

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

| | TopRight |

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

| | LeftTop |

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

| | LeftCenter |

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

| | LeftBottom |

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

| | RightTop |

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

| | RightCenter |

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

| | RightBottom |

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

| | Default |

The default tooltip location.

| | Fixed |

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

|

The following properties accept/return ToolTipLocation values:

Remarks

Use the members of this enumeration to set the value of the ToolTipController component’s ToolTipController.ToolTipLocation property.

Additionally, the values can be used to set the ToolTipControllerShowEventArgs.ToolTipLocation property when handling the ToolTipController.BeforeShow event.

See Also

ToolTipController.ToolTipLocation

ToolTipControllerShowEventArgs.ToolTipLocation

ToolTipControlInfo.ToolTipLocation

DevExpress.Utils Namespace