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

ToolTipController.ShowHint(String, String, Control, ToolTipLocation) Method

Displays a hint with the specified text and title relative to the specified control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public void ShowHint(
    string toolTip,
    string title,
    Control control,
    ToolTipLocation toolTipLocation
)
Public Sub ShowHint(
    toolTip As String,
    title As String,
    control As Control,
    toolTipLocation As ToolTipLocation
)

Parameters

Name Type Description
toolTip String

A string which represents the tooltip's text.

title String

A string which represents the tooltip's title.

control Control

The control to display the tooltip for.

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