Back to Devexpress

HtmlEditorHtmlEditingSettings.AllowIFrames Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-htmleditorhtmleditingsettings-037de2da.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool AllowIFrames { get; set; }
vb
<DefaultValue(False)>
Public Property AllowIFrames As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

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

HTML Editor

AllowYouTubeVideoIFrames

HTML Validation Parameters

HTML Validation

HtmlEditorHtmlEditingSettings Class

HtmlEditorHtmlEditingSettings Members

DevExpress.Web.ASPxHtmlEditor Namespace