HtmlEditorContentElementFiltering.StyleAttributes Property

Gets or sets the style attribute elements that will be filtered according to the specified filter mode.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v21.1.dll


public string[] StyleAttributes { get; set; }

Property Value

Type Description

An array of String values that contains the style attribute elements.


ASPxHtmlEditor provides you with the capability to filter content elements. You can specify filter rules for tags, attributes, and style attributes.

Use the StyleAttributes property to specify an ordered array of style attribute elements that will be maintained or removed (based on the HtmlEditorContentElementFiltering.StyleAttributeFilterMode property value) from the editor content.

See Also