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.SetAllowHtmlText(Control, DefaultBoolean) Method

Sets whether HTML formatting is enabled in tooltips for the specified control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public void SetAllowHtmlText(
    Control control,
    DefaultBoolean value
)

#Parameters

Name Type Description
control Control

A control for which the tooltip information is to be changed.

value DefaultBoolean

A DefaultBoolean value that specifies whether HTML formatting is enabled in tooltips for the specified control.

#Remarks

Tooltips’ text can be formatted using HTML tags. The SetAllowHtmlText method allows HTML formatting to be enabled for a control’s tooltips. To learn more about HTML formatting, see HTML Text Formatting.

If the value parameter is set to Default, the HTML formatting feature will be enabled if the ToolTipController.AllowHtmlText property is set to true.

See Also