menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    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
    Type
    ScheduleFieldOptionsBuilder

    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
    Type
    ScheduleFieldOptionsBuilder

    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
    Type
    ScheduleFieldOptionsBuilder

    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
    Returns
    Type
    ScheduleFieldOptionsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved