Skip to main content
A newer version of this page is available. .

ToolTipController.ShowHint(ToolTipControllerShowEventArgs, Control) Method

Displays a hint for a control using specified settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

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 invokes the ToolTipController.BeforeShow and ToolTipController.CalcSize events before displaying the hint.

See Also