Class CustomWidgetSettingBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CustomWidgetSettingBuilder
Assembly: Syncfusion.AspNetCore.FormRenderer.dll
public class CustomWidgetSettingBuilder : ControlBuilder
Constructors
Declaration
public CustomWidgetSettingBuilder()
Declaration
public CustomWidgetSettingBuilder(List<CustomWidgetSetting> collection)
Parameters
Methods
Declaration
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
Specifies the template content to be used.
Declaration
public CustomWidgetSettingBuilder Template(string template)
Parameters
| Type |
Name |
Description |
| System.String |
template |
|
Returns
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
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