menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ScheduleTimeScaleBuilder

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

    Constructors

    ScheduleTimeScaleBuilder()

    Declaration
    public ScheduleTimeScaleBuilder()

    ScheduleTimeScaleBuilder(ScheduleTimeScale)

    Declaration
    public ScheduleTimeScaleBuilder(ScheduleTimeScale model)
    Parameters
    Type Name Description
    ScheduleTimeScale model

    Methods

    Enable(Boolean)

    When set to true, allows the schedule to display the appointments accurately against the exact time duration. If set to false, all the appointments of a day will be displayed one below the other.

    Declaration
    public ScheduleTimeScaleBuilder Enable(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ScheduleTimeScaleBuilder

    Interval(Double)

    Defines the time duration on which the time axis to be displayed either in 1 hour or 30 minutes interval and so on. It accepts the values in minutes.

    Declaration
    public ScheduleTimeScaleBuilder Interval(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    ScheduleTimeScaleBuilder

    MajorSlotTemplate(String)

    The template option to be applied for major time slot. Here, the template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the time cells. The time details can be accessed within this template.

    Declaration
    public ScheduleTimeScaleBuilder MajorSlotTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ScheduleTimeScaleBuilder

    MinorSlotTemplate(String)

    The template option to be applied for minor time slot. Here, the template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the time cells. The time details can be accessed within this template.

    Declaration
    public ScheduleTimeScaleBuilder MinorSlotTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ScheduleTimeScaleBuilder

    SlotCount(Double)

    Decides the number of slot count to be split for the specified time interval duration.

    Declaration
    public ScheduleTimeScaleBuilder SlotCount(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    ScheduleTimeScaleBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved