Back to Devexpress

WindowsFormsSettings.DefaultAllowHtmlDraw Property

windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-c78a3384.md

latest2.4 KB
Original Source

WindowsFormsSettings.DefaultAllowHtmlDraw Property

Indicates whether HTML text formatting is enabled for controls by default. This is a static property.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
Boolean

true if HTML text formatting is enabled for controls by default; otherwise, false.

|

Remarks

The static DefaultAllowHtmlDraw property allows you to specify whether HTML text formatting is enabled for the BaseListBoxControl descendants and in-place editors by default. The control’s AllowHtmlDraw property (see BaseListBoxControl.AllowHtmlDraw and RepositoryItem.AllowHtmlDraw) overrides the global setting specified with the DefaultAllowHtmlDraw property.

For more details on controls that support HTML text formatting and the available HTML tags, see the HTML Text Formatting topic.

See Also

HTML-inspired Text Formatting

RepositoryItem.AllowHtmlDraw

BaseListBoxControl.AllowHtmlDraw

WindowsFormsSettings Class

WindowsFormsSettings Members

DevExpress.XtraEditors Namespace