Skip to main content
A newer version of this page is available. .

HtmlEditorHtmlEditingSettings.AllowIFrames Property

Gets or sets a value that specifies whether the editor’s HTML markup can contain ‘iframe’ elements.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

[DefaultValue(false)]
public bool AllowIFrames { get; set; }

Property Value

Type Default Description
Boolean **false**

true if ‘iframe’ elements are allowed in the editor’s content; false if ‘iframe’ elements are automatically removed from the editor’s HTML markup.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowIFrames
ASPxHtmlEditor
.SettingsHtmlEditing.AllowIFrames
HtmlEditorBinderSettings
.HtmlEditingSettings.AllowIFrames
HtmlEditorSettings
.SettingsHtmlEditing.AllowIFrames
MVCxHtmlEditor
.SettingsHtmlEditing.AllowIFrames

Remarks

Note, the AllowIFrames property is not in effect for iframe elements containing links to YouTube video. To control the availability of YouTube video iframes, use the HtmlEditorHtmlEditingSettings.AllowYouTubeVideoIFrames property.

See Also