Skip to main content
A newer version of this page is available. .

ToolTipItem.AllowHtmlText Property

Gets or sets whether HTML formatting is allowed for the item’s text (ToolTipItem.Text).

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowHtmlText { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

A DefaultBoolean value that specifies whether HTML formatting is allowed in the tooltip.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

You can use HTML tags to format text in ToolTipItems specified by the ToolTipItem.Text property, provided that a corresponding feature is enabled.

If the AllowHtmlText property is set to True, the HTML formatting feature is enabled for this ToolTipItem. If the AllowHtmlText property is set to Default, the HTML formatting is controlled by the SuperToolTip.AllowHtmlText property value.

For detailed information on supported HTML tags, see HTML Text Formatting.

See Also