Back to Devexpress

HtmlEditorContentElementFiltering.Attributes Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-htmleditorcontentelementfiltering-2c10a322.md

latest2.5 KB
Original Source

HtmlEditorContentElementFiltering.Attributes Property

Gets or sets the 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 virtual string[] Attributes { get; set; }
vb
Public Overridable Property Attributes As String()

Property Value

TypeDescription
String[]

An array of String values that contains the 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 Attributes property to specify an ordered array of attribute elements that will be maintained or removed (based on the HtmlEditorContentElementFiltering.AttributeFilterMode property value) from the editor content.

See Also

AttributeFilterMode

Tags

TagFilterMode

StyleAttributes

StyleAttributeFilterMode

Online Demo: HTML Editor - Content Element Filtering

HtmlEditorContentElementFiltering Class

HtmlEditorContentElementFiltering Members

DevExpress.Web.ASPxHtmlEditor Namespace