Back to Devexpress

XtraMessageBox.AllowHtmlText Property

windowsforms-devexpress-dot-xtraeditors-dot-xtramessagebox.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static bool AllowHtmlText { get; set; }
vb
Public Shared Property AllowHtmlText As Boolean

Property Value

TypeDescription
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

HtmlText

EnableFormSkins()

EnableFormSkinsIfNotVista()

HTML-inspired Text Formatting

WinForms Skins and Color Palettes

XtraMessageBox Class

XtraMessageBox Members

DevExpress.XtraEditors Namespace