Skip to main content

ToolTipController.ShowHint(String, Point) Method

Displays a hint relative to the specified point using current ToolTipController settings

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public void ShowHint(
    string toolTip,
    Point cursorPosition
)

Parameters

Name Type Description
toolTip String

The text to display as a tooltip.

cursorPosition Point

The point relative to which the tooltip should be displayed.

Remarks

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 means instead.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowHint(String, Point) method.

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