Back to Devexpress

HtmlEditorContentElementFiltering.StyleAttributes Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-htmleditorcontentelementfiltering-a078b81f.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
public string[] StyleAttributes { get; set; }
vb
Public Property StyleAttributes As String()

Property Value

TypeDescription
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

StyleAttributeFilterMode

Tags

TagFilterMode

Attributes

AttributeFilterMode

Online Demo: HTML Editor - Content Element Filtering

HtmlEditorContentElementFiltering Class

HtmlEditorContentElementFiltering Members

DevExpress.Web.ASPxHtmlEditor Namespace