menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ScheduleFieldBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ScheduleFieldBuilder
    Namespace: Syncfusion.EJ2.Schedule
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ScheduleFieldBuilder : ControlBuilder

    Constructors

    ScheduleFieldBuilder()

    Declaration
    public ScheduleFieldBuilder()

    ScheduleFieldBuilder(ScheduleField)

    Declaration
    public ScheduleFieldBuilder(ScheduleField model)
    Parameters
    Type Name Description
    ScheduleField model

    Methods

    Description(ScheduleFieldOptions)

    It maps the description field from the dataSource and denotes the event description which is optional.

    Declaration
    public ScheduleFieldBuilder Description(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    Description(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder Description(Action<ScheduleFieldOptionsBuilder> description)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> description
    Returns
    Type
    ScheduleFieldBuilder

    EndTime(ScheduleFieldOptions)

    The endTime field defines the end time of an event and it is mandatory to provide the end time for any of the valid event objects.

    Declaration
    public ScheduleFieldBuilder EndTime(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    EndTime(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder EndTime(Action<ScheduleFieldOptionsBuilder> endTime)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> endTime
    Returns
    Type
    ScheduleFieldBuilder

    EndTimezone(ScheduleFieldOptions)

    It maps the endTimezone field from the dataSource and usually accepts the valid IANA timezone names. It is assumed that the value provided for this field is taken into consideration while processing the endTime field. When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned to the Schedule.

    Declaration
    public ScheduleFieldBuilder EndTimezone(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    EndTimezone(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder EndTimezone(Action<ScheduleFieldOptionsBuilder> endTimezone)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> endTimezone
    Returns
    Type
    ScheduleFieldBuilder

    FollowingID(String)

    The followingID field is mapped from dataSource and usually holds the ID value of the main parent event.

    Declaration
    public ScheduleFieldBuilder FollowingID(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ScheduleFieldBuilder

    Id(String)

    The id field needs to be defined as mandatory, when the Schedule is bound to remote data and it is optional, if the same is bound with JSON data. This field usually assigns ID value to each of the events.

    Declaration
    public ScheduleFieldBuilder Id(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ScheduleFieldBuilder

    IsAllDay(ScheduleFieldOptions)

    The isAllDay field is mapped from the dataSource and is used to denote whether an event is created for an entire day or for specific time alone.

    Declaration
    public ScheduleFieldBuilder IsAllDay(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    IsAllDay(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder IsAllDay(Action<ScheduleFieldOptionsBuilder> isAllDay)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> isAllDay
    Returns
    Type
    ScheduleFieldBuilder

    IsBlock(String)

    The isBlock field allows you to block certain time interval on the Scheduler. It is a boolean type property accepting either true or false values. When set to true, creates a block range for the specified time interval and disables the event scheduling actions on that time range.

    Declaration
    public ScheduleFieldBuilder IsBlock(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ScheduleFieldBuilder

    IsReadonly(String)

    The isReadonly field is mapped from the dataSource and is used to prevent the CRUD actions on specific events.

    Declaration
    public ScheduleFieldBuilder IsReadonly(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ScheduleFieldBuilder

    Location(ScheduleFieldOptions)

    It maps the location field from the dataSource and the location field value will be displayed over events, while given it for an event object.

    Declaration
    public ScheduleFieldBuilder Location(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    Location(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder Location(Action<ScheduleFieldOptionsBuilder> location)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> location
    Returns
    Type
    ScheduleFieldBuilder

    RecurrenceException(ScheduleFieldOptions)

    It maps the recurrenceException field from dataSource and is used to hold the exception dates which needs to be excluded from recurring type.

    Declaration
    public ScheduleFieldBuilder RecurrenceException(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    RecurrenceException(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder RecurrenceException(Action<ScheduleFieldOptionsBuilder> recurrenceException)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> recurrenceException
    Returns
    Type
    ScheduleFieldBuilder

    RecurrenceID(ScheduleFieldOptions)

    It maps the recurrenceID field from dataSource and usually holds the ID value of the parent recurrence event. It is applicable only for the edited occurrence events.

    Declaration
    public ScheduleFieldBuilder RecurrenceID(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    RecurrenceID(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder RecurrenceID(Action<ScheduleFieldOptionsBuilder> recurrenceID)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> recurrenceID
    Returns
    Type
    ScheduleFieldBuilder

    RecurrenceRule(ScheduleFieldOptions)

    It maps the recurrenceRule field from dataSource and is used to uniquely identify whether the event belongs to a recurring event type or normal ones.

    Declaration
    public ScheduleFieldBuilder RecurrenceRule(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    RecurrenceRule(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder RecurrenceRule(Action<ScheduleFieldOptionsBuilder> recurrenceRule)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> recurrenceRule
    Returns
    Type
    ScheduleFieldBuilder

    StartTime(ScheduleFieldOptions)

    The startTime field defines the start time of an event and it is mandatory to provide it for any of the valid event objects.

    Declaration
    public ScheduleFieldBuilder StartTime(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    StartTime(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder StartTime(Action<ScheduleFieldOptionsBuilder> startTime)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> startTime
    Returns
    Type
    ScheduleFieldBuilder

    StartTimezone(ScheduleFieldOptions)

    It maps the startTimezone field from the dataSource and usually accepts the valid IANA timezone names. It is assumed that the value provided for this field is taken into consideration while processing the startTime field. When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned to the Schedule.

    Declaration
    public ScheduleFieldBuilder StartTimezone(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    StartTimezone(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder StartTimezone(Action<ScheduleFieldOptionsBuilder> startTimezone)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> startTimezone
    Returns
    Type
    ScheduleFieldBuilder

    Subject(ScheduleFieldOptions)

    The subject field is optional, and usually assigns the subject text to each of the events.

    Declaration
    public ScheduleFieldBuilder Subject(ScheduleFieldOptions value)
    Parameters
    Type Name Description
    ScheduleFieldOptions value
    Returns
    Type
    ScheduleFieldBuilder

    Subject(Action<ScheduleFieldOptionsBuilder>)

    Declaration
    public ScheduleFieldBuilder Subject(Action<ScheduleFieldOptionsBuilder> subject)
    Parameters
    Type Name Description
    System.Action<ScheduleFieldOptionsBuilder> subject
    Returns
    Type
    ScheduleFieldBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved