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(String, Control, ToolTipLocation) Method

Displays a hint relative to a specific control.

Namespace: DevExpress.Utils

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