Skip to main content

HtmlSettingsAttribute.AllowIFrames Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AllowIFrames { get; set; }

Property Value

Type Description
Boolean

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 HtmlSettingsAttribute.AllowYouTubeVideoIFrames property.

See Also