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

Sets a regular tooltip for the specified control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public void SetToolTip(
    Control control,
    string value
)

#Parameters

Name Type Description
control Control

A control for which to set the tooltip.

value String

A string representing a regular tooltip’s text.

#Remarks

Use the SetToolTip method to specify a regular tooltip for the specified control. The type of tooltips (regular or SuperToolTip objects) displayed for controls is specified by the ToolTipController.ToolTipType property.

To disable a regular tooltip for a control, call SetToolTip and set the value parameter to an empty string.

To get a regular tooltip for a control, use the ToolTipController.GetToolTip function.

See Also