Skip to main content

ToolTipController.ShowHint(ToolTipControllerShowEventArgs, Control) Method

Displays a hint for a control using specified settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public void ShowHint(
    ToolTipControllerShowEventArgs eShow,
    Control control
)

Parameters

Name Type Description
eShow ToolTipControllerShowEventArgs

A ToolTipControllerShowEventArgs object specifying the settings used to display tooltips.

control Control

The control for which to display the tooltip.

Remarks

Text and appearance settings for the tooltip are obtained from the eShow parameter. If the parameter’s ToolTipControllerShowEventArgs.Show property is false, the tooltip will not be displayed.

To create a ToolTipControllerShowEventArgs object based upon current ToolTipController settings, you can use the ToolTipController.CreateShowArgs method.

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