A newer version of this page is available. Switch to the current version.

ToolTipController.ShowHint(String, Control, ToolTipLocation) Method

Displays a hint relative to a specific control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public void ShowHint(
    string toolTip,
    Control control,
    ToolTipLocation toolTipLocation
)
Public Sub ShowHint(
    toolTip As String,
    control As Control,
    toolTipLocation As 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 invokes the ToolTipController.BeforeShow and ToolTipController.CalcSize events before displaying the hint.

See Also