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

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

NuGet Package: DevExpress.Win.Navigation

#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