menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class HolidaysBuilder

    Inheritance
    System.Object
    HolidaysBuilder
    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 HolidaysBuilder

    Constructors

    HolidaysBuilder(List<Holiday>)

    It set the Collection of holidays with date, background and label information to be displayed in gantt.

    Declaration
    public HolidaysBuilder(List<Holiday> holidaysOptions)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Holiday> holidaysOptions

    Fields

    holidaysOptions

    Declaration
    public List<Holiday> holidaysOptions
    Field Value
    Type Description
    System.Collections.Generic.List<Holiday>

    Methods

    Add()

    It adds the holiday detail

    Declaration
    public void Add()

    Background(String)

    It sets the holiday back ground color

    Declaration
    public HolidaysBuilder Background(string background)
    Parameters
    Type Name Description
    System.String background

    It accepts the holiday background color as string

    Returns
    Type Description
    HolidaysBuilder

    HolidaysBuilder

    Day(String)

    It sets the holiday date.

    Declaration
    public HolidaysBuilder Day(string day)
    Parameters
    Type Name Description
    System.String day

    It accepts the day of holiday.

    Returns
    Type Description
    HolidaysBuilder

    HolidaysBuilder

    Label(String)

    It sets the holiday label

    Declaration
    public HolidaysBuilder Label(string label)
    Parameters
    Type Name Description
    System.String label

    It accepts the holiday label as string

    Returns
    Type Description
    HolidaysBuilder

    HolidaysBuilder

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