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

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.v24.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