Skip to main content

AlertControl.AllowHtmlText Property

Gets or sets whether HTML tags can be used to format an alert window’s caption and text.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool AllowHtmlText { get; set; }

Property Value

Type Default Description
Boolean false

A Boolean value that specifies whether HTML formatting is supported for an alert window’s caption and text.

Remarks

If the AllowHtmlText property is enabled, you can use HTML tags to format an alert window’s caption and text. Refer to the HTML Text Formatting, to learn about the supported tags.

An alert window’s caption and text are specified when calling the AlertControl.Show method, and can also be specified handling the AlertControl.BeforeFormShow event and changing the event’s info parameter.

Important

We do not recommend using HTML Text Formatting and HTML & CSS Templates features together.

See Also