HtmlEditorHtmlEditingSettings.AllowStyleAttributes Property

Gets or sets a value that specifies whether the editor's HTML markup can contain style attributes.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

[DefaultValue(true)]
public bool AllowStyleAttributes { get; set; }
<DefaultValue(True)>
Public Property AllowStyleAttributes As Boolean

Property Value

Type Default Description
Boolean

true

true if style attributes are allowed within the editor's content; false if style attributes are automatically removed from the editor's HTML markup.

Implements

DevExpress.Web.ASPxHtmlEditor.Internal.IHtmlValidationSettings.AllowStyleAttributes
See Also