Skip to main content

ToolTipController.SetAllowHtmlText(Control, DefaultBoolean) Method

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.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