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.v20.1.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.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowedDocumentType
ASPxHtmlEditor
.SettingsHtmlEditing.AllowedDocumentType
HtmlEditorBinderSettings
.HtmlEditingSettings.AllowedDocumentType
DevExpressEditorsBinder
HtmlEditorSettings
.SettingsHtmlEditing.AllowedDocumentType
MVCxHtmlEditor
.SettingsHtmlEditing.AllowedDocumentType

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