Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolTipController.ShowHint(ToolTipControllerShowEventArgs, Control) Method

Displays a hint for a control using specified settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.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