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

BaseControl.ToolTip Property

Gets or sets a regular tooltip's content.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll


public virtual string ToolTip { get; set; }

Property Value

Type Default Description


A string which specifies the text content of a regular tooltip.


BaseControl descendants support regular tooltips and SuperToolTips. Use the ToolTip property to specify a regular tooltip's text content. The tooltip's title and icon can be specified via the BaseControl.ToolTipTitle and BaseControl.ToolTipIconType properties. The following image shows a sample regular tooltip:


The BaseControl.SuperTip property allows you to assign a SuperToolTip to a control.

To temporarily disable tooltips, set the BaseControl.ShowToolTips property to false.

The BaseControl.ToolTipController property determines the ToolTipController which manages tooltips for the control. The type of tooltips displayed by controls is determined by the ToolTipController.ToolTipType property. See Tooltips, for more information.

It's possible to use HTML formatting in regular and SuperToolTips. To enable HTML formatting in regular tooltips, use the BaseControl.AllowHtmlTextInToolTip property. To enable HTML formatting in SuperToolTips, use the SuperToolTip.AllowHtmlText property. See HTML Text Formatting to learn more.

See Also