HtmlEditorHtmlEditingSettings.AllowedDocumentType Property

Gets or sets a value that specifies what document types are allowed in the ASPxHtmlEditor.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

[DefaultValue(AllowedDocumentType.XHTML)]
public AllowedDocumentType AllowedDocumentType { get; set; }
<DefaultValue(AllowedDocumentType.XHTML)>
Public Property AllowedDocumentType As AllowedDocumentType

Property Value

Type Default Description
AllowedDocumentType

XHTML

One of the AllowedDocumentType enumeration values.

Remarks

Use the AllowedDocumentType property to specify document types that are allowed within the editor. Elements that do not conform to the rules of the specified document type are removed.

Implements

DevExpress.Web.ASPxHtmlEditor.Internal.IHtmlValidationSettings.AllowedDocumentType
See Also