menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorIFrameSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RichTextEditorIFrameSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    RichTextEditorIFrameSettingsBuilder
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorIFrameSettingsBuilder : ControlBuilder

    Constructors

    RichTextEditorIFrameSettingsBuilder()

    Declaration
    public RichTextEditorIFrameSettingsBuilder()

    RichTextEditorIFrameSettingsBuilder(RichTextEditorIFrameSettings)

    Declaration
    public RichTextEditorIFrameSettingsBuilder(RichTextEditorIFrameSettings model)
    Parameters
    Type Name Description
    RichTextEditorIFrameSettings model

    Methods

    Attributes(Object)

    Defines additional attributes for rendering the iframe.

    Declaration
    public RichTextEditorIFrameSettingsBuilder Attributes(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RichTextEditorIFrameSettingsBuilder

    Enable(Boolean)

    Determines whether to render the Rich Text Editor with an iframe-based editable element.

    Declaration
    public RichTextEditorIFrameSettingsBuilder Enable(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RichTextEditorIFrameSettingsBuilder

    MetaTags(Object)

    Specifies the meta tags to be applied to the element of the iframe.

    Declaration
    public RichTextEditorIFrameSettingsBuilder MetaTags(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RichTextEditorIFrameSettingsBuilder

    Resources(Object)

    Object used to inject styles and scripts into the iframe.

    Declaration
    public RichTextEditorIFrameSettingsBuilder Resources(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RichTextEditorIFrameSettingsBuilder

    Sandbox(String[])

    Represents the sandbox attribute for the Rich Text Editor's iframe, defining the security restrictions applied to the embedded content. Configure this property using a string array (e.g., ["allow-scripts", "allow-forms"]). If set to an empty array, all restrictions are applied except "allow-same-origin". By default, "allow-same-origin" is included in the Rich Text Editor's iframe sandbox.

    Declaration
    public RichTextEditorIFrameSettingsBuilder Sandbox(string[] value)
    Parameters
    Type Name Description
    System.String[] value
    Returns
    Type
    RichTextEditorIFrameSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved