WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Calendar - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Calendar

    Represents a Calendar

    Inheritance
    System.Object
    Calendar
    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.ProjIO
    Assembly: Syncfusion.ProjIO.Base.dll
    Syntax
    public class Calendar

    Constructors

    Calendar()

    Initializes a new instance of the Calendar class.

    Declaration
    public Calendar()

    Calendar(String)

    Initializes a new instance of the Calendar class.

    Declaration
    public Calendar(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Properties

    BaseCalendarUID

    Gets or sets the unique identifier of the base calendar on which this calendar depends

    Declaration
    public int BaseCalendarUID { get; set; }
    Property Value
    Type Description
    System.Int32

    BaseCalendarUIDSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string BaseCalendarUIDSerialized { get; set; }
    Property Value
    Type Description
    System.String

    Exceptions

    The collection of exceptions that is associated with the calendar

    Declaration
    public List<CalendarException> Exceptions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<CalendarException>

    IsBaseCalendar

    Checks whether the calendar is a base calendar

    Declaration
    public bool IsBaseCalendar { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsBaseCalendarString

    Gets or sets the value indicating whether the calendar is a base calendar.

    Declaration
    public string IsBaseCalendarString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the calendar is a base calendar.

    IsBaselineCalendar

    Checks whether the calendar is a baseline calendar

    Declaration
    public bool IsBaselineCalendar { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsBaselineCalendarString

    Gets or sets the value indicating whether the calendar is a baseline calendar.

    Declaration
    public string IsBaselineCalendarString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the calendar is a baseline calendar.

    Name

    Gets or sets the name of the calendar

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    UID

    Gets or sets the unique identifier of the calendar

    Declaration
    public int UID { get; set; }
    Property Value
    Type Description
    System.Int32

    UIDSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string UIDSerialized { get; set; }
    Property Value
    Type Description
    System.String

    WeekDays

    The collection of weekdays that defines this calendar

    Declaration
    public List<WeekDay> WeekDays { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<WeekDay>

    WorkWeeks

    The collection of effective work weeks associated with the calendar

    Declaration
    public List<WorkWeek> WorkWeeks { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<WorkWeek>

    Methods

    StandardCalendar()

    Add default calendar

    Declaration
    public static Calendar StandardCalendar()
    Returns
    Type Description
    Calendar

    StandardCalendar(String)

    Add Default calendar

    Declaration
    public static Calendar StandardCalendar(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the Calendar

    Returns
    Type Description
    Calendar

    Instance of calendar created

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