Class ScheduleFieldOptionsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ScheduleFieldOptionsBuilder
Namespace: Syncfusion.EJ2.Schedule
Assembly: Syncfusion.EJ2.dll
Syntax
public class ScheduleFieldOptionsBuilder : ControlBuilder
Constructors
ScheduleFieldOptionsBuilder()
Declaration
public ScheduleFieldOptionsBuilder()
ScheduleFieldOptionsBuilder(ScheduleFieldOptions)
Declaration
public ScheduleFieldOptionsBuilder(ScheduleFieldOptions model)
Parameters
Type | Name | Description |
---|---|---|
ScheduleFieldOptions | model |
Methods
Default(String)
Assigns the specific default value to the fields, when no values are provided to those fields from dataSource.
Declaration
public ScheduleFieldOptionsBuilder Default(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Name(String)
Denotes the field name to be mapped from the dataSource for every event fields.
Declaration
public ScheduleFieldOptionsBuilder Name(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Title(String)
Assigns the label values to be displayed for the event editor fields.
Declaration
public ScheduleFieldOptionsBuilder Title(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Validation(Object)
Defines the validation rules to be applied on the event fields within the event editor. {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %}
Declaration
public ScheduleFieldOptionsBuilder Validation(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |