menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TimeScaleBuilder

    Show / Hide Table of Contents

    Class TimeScaleBuilder

    A builder class that holds TimeScale items.

    Inheritance
    System.Object
    TimeScaleBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class TimeScaleBuilder

    Constructors

    TimeScaleBuilder(TimeScale)

    Initializes a new instance of the TimeScale class.

    Declaration
    public TimeScaleBuilder(TimeScale options)
    Parameters
    Type Name Description
    TimeScale options

    It accepts the TimeScale object.

    Methods

    Enable(Boolean)

    This field stores the value which indicates whether to displays the time slots on the Scheduler or not.

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

    It accepts the value which indicates whether to displays the time slots on the Scheduler or not.

    Returns
    Type Description
    TimeScaleBuilder

    majorSlot(Int32)

    This field stores the specific minutes value to be displayed in Schedule.

    Declaration
    public TimeScaleBuilder majorSlot(int majorSlot)
    Parameters
    Type Name Description
    System.Int32 majorSlot

    It accepts the specific minutes value to be displayed in Schedule

    Returns
    Type Description
    TimeScaleBuilder

    majorSlotTemplateId(String)

    This field stores the id value of the template defined for major time slot

    Declaration
    public TimeScaleBuilder majorSlotTemplateId(string majorSlotTemplateId)
    Parameters
    Type Name Description
    System.String majorSlotTemplateId

    It accepts the id value of the template defined for major time slot

    Returns
    Type Description
    TimeScaleBuilder

    minorSlotCount(Int32)

    This field stores the number of slots to be displayed in Schedule.

    Declaration
    public TimeScaleBuilder minorSlotCount(int minorSlotCount)
    Parameters
    Type Name Description
    System.Int32 minorSlotCount

    It accepts the number of slots to be displayed in Schedule

    Returns
    Type Description
    TimeScaleBuilder

    minorSlotTemplateId(String)

    This field stores the id value of the template defined for minor time slot

    Declaration
    public TimeScaleBuilder minorSlotTemplateId(string minorSlotTemplateId)
    Parameters
    Type Name Description
    System.String minorSlotTemplateId

    It accepts the id value of the template defined for minor time slot

    Returns
    Type Description
    TimeScaleBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved