alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class CustomWidgetSettingBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    CustomWidgetSettingBuilder
    Namespace: Syncfusion.EJ2.FormRenderer
    Assembly: Syncfusion.AspNetCore.FormRenderer.dll
    Syntax
    public class CustomWidgetSettingBuilder : ControlBuilder

    Constructors

    CustomWidgetSettingBuilder()

    Declaration
    public CustomWidgetSettingBuilder()

    CustomWidgetSettingBuilder(List<CustomWidgetSetting>)

    Declaration
    public CustomWidgetSettingBuilder(List<CustomWidgetSetting> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<CustomWidgetSetting> collection

    Methods

    Add()

    Declaration
    public void Add()

    FieldName(String)

    Specifies the name of the field to which the template must be bound. When set, the template is rendered to the control with the matching name, irrespective of the type property value.

    Declaration
    public CustomWidgetSettingBuilder FieldName(string fieldName)
    Parameters
    Type Name Description
    System.String fieldName
    Returns
    Type
    CustomWidgetSettingBuilder

    Template(String)

    Specifies the template content to be used.

    Declaration
    public CustomWidgetSettingBuilder Template(string template)
    Parameters
    Type Name Description
    System.String template
    Returns
    Type
    CustomWidgetSettingBuilder

    TemplateId(String)

    Specifies an optional template identifier. When set, the template is rendered to the JSON object whose templateId matches this value, irrespective of the type.

    Declaration
    public CustomWidgetSettingBuilder TemplateId(string templateId)
    Parameters
    Type Name Description
    System.String templateId
    Returns
    Type
    CustomWidgetSettingBuilder

    Type(String)

    Specifies the type of the widget to which the template must be bound. The values will be FormComponentType.

    Declaration
    public CustomWidgetSettingBuilder Type(string type)
    Parameters
    Type Name Description
    System.String type
    Returns
    Type
    CustomWidgetSettingBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved