Skip to main content

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

NuGet Package: DevExpress.Web

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