Class CustomWidgetSetting
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
CustomWidgetSetting
Namespace: Syncfusion.EJ2.FormRenderer
Assembly: Syncfusion.AspNetCore.FormRenderer.dll
Syntax
public class CustomWidgetSetting : EJTagHelper
Constructors
CustomWidgetSetting()
Declaration
public CustomWidgetSetting()
Properties
FieldName
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 string FieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
Template
Specifies the template content to be used.
Declaration
public string Template { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
TemplateId
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 string TemplateId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
Type
Specifies the type of the widget to which the template must be bound. The values will be FormComponentType.
Declaration
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |