Skip to main content

ToolTipController.ShowHint(String, String, Control, ToolTipLocation) Method

Displays a hint with the specified text and title relative to the specified control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public void ShowHint(
    string toolTip,
    string title,
    Control control,
    ToolTipLocation toolTipLocation
)

Parameters

Name Type Description
toolTip String

A string which represents the tooltip’s text.

title String

A string which represents the tooltip’s title.

control Control

The control to display the tooltip for.

toolTipLocation ToolTipLocation

The position relative to the specified control at which the tooltip should be displayed.

Remarks

The tooltip is displayed relative to the specified control 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.

See Also