Back to Devexpress

AlertControl.AllowHtmlText Property

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertcontrol.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool AllowHtmlText { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Appearance")>
Public Overridable Property AllowHtmlText As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

Show

BeforeFormShow

AlertControl Class

AlertControl Members

DevExpress.XtraBars.Alerter Namespace