Skip to main content

ToolTipController.ShowHint(String, Control, ToolTipLocation) Method

Displays a hint relative to a specific control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

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

Parameters

Name Type Description
toolTip String

The text to display as a tooltip.

control Control

The control for which to display the tooltip.

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