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

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