Skip to main content
A newer version of this page is available. .

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

Declaration

public string[] StyleAttributes { get; set; }

Property Value

Type Description
String[]

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

Remarks

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