ToolTipController.ShowHint(String, String, ToolTipLocation, Point) Method
Displays a hint with the specified text and title relative to the specified point.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
public void ShowHint(
string toolTip,
string title,
ToolTipLocation toolTipLocation,
Point cursorPosition
)
Parameters
Name | Type | Description |
---|---|---|
toolTip | String | A string that represents a tooltip’s text. |
title | String | A string that represents a tooltip’s title. |
toolTipLocation | ToolTipLocation | The position relative to the specified control at which the tooltip should be displayed. |
cursorPosition | Point | A point relative to which the hint should be displayed. |
Remarks
The tooltip is displayed using the current ToolTipController settings.
The method raises the ToolTipController.BeforeShow and ToolTipController.CalcSize events before the hint is displayed.
The ShowHint method does not support flyout tooltips. Use the FlyoutPanel‘s methods instead.