Class Calendar
Represents a Calendar
Inheritance
Namespace: Syncfusion.ProjIO
Assembly: Syncfusion.ProjIO.Base.dll
Syntax
public class Calendar : Object
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 |
---|
System.Int32 |
BaseCalendarUIDSerialized
This property is used while Serializing and Deserializing the Project XML file
Declaration
public string BaseCalendarUIDSerialized { get; set; }
Property Value
Type |
---|
System.String |
Exceptions
The collection of exceptions that is associated with the calendar
Declaration
public List<CalendarException> Exceptions { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<CalendarException> |
IsBaseCalendar
Checks whether the calendar is a base calendar
Declaration
public bool IsBaseCalendar { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.String |
UID
Gets or sets the unique identifier of the calendar
Declaration
public int UID { get; set; }
Property Value
Type |
---|
System.Int32 |
UIDSerialized
This property is used while Serializing and Deserializing the Project XML file
Declaration
public string UIDSerialized { get; set; }
Property Value
Type |
---|
System.String |
WeekDays
The collection of weekdays that defines this calendar
Declaration
public List<WeekDay> WeekDays { get; set; }
Property Value
Type |
---|
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 |
---|
System.Collections.Generic.List<WorkWeek> |
Methods
StandardCalendar()
Add default calendar
Declaration
public static Calendar StandardCalendar()
Returns
Type |
---|
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 |