Skip to main content

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

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

Declaration

public static bool DefaultAllowHtmlDraw { get; set; }

Property Value

Type Description
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