Skip to main content

XtraMessageBox.AllowHtmlText Property

Gets or sets whether the HTML text formatting feature is enabled by default in message boxes, displayed using the XtraMessageBox.Show method.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public static bool AllowHtmlText { get; set; }

Property Value

Type Description
Boolean

true if the HTML text formatting feature is enabled by default in message boxes; otherwise, false.

Remarks

Specific XtraMessageBox.Show method overloads provide the allowHtmlText parameter, which specifies if HTML tags can be used to format a message box’ text and caption. The Show method overloads that do not provide this parameter employ the default setting specified by the static AllowHtmlText property.

Note

HTML text formatting of message box captions is only in effect when the form title bar skinning feature is enabled. See Skins to learn more.

See Also