[]
The CalendarInfo class manages and exposes all date-related data.
public class CalendarInfo : Component, IComponent, IDisposable, INotifyPropertyChanged
| Name | Description |
|---|---|
| CalendarInfo() | Initializes a new instance of the CalendarInfo component. |
| Name | Description |
|---|---|
| Culture | Gets or sets the CultureInfo object which holds culture-specific information used by C1Schedule components. |
| CultureInfo | Gets or sets the CultureInfo object which holds culture-specific information used by C1Schedule components. |
| DateFormatString | Gets or sets the string value determining display format of date values to use in appointments and built-in dialogs. |
| DateTimeKind | Gets or sets DateTimeKind specifying DateTime kind used for saving DateTime values. |
| EndDayTime | Gets or sets the TimeSpan value specifying the end of the working time. |
| FirstDate | Gets or sets the DateTime value specifying minimum date allowed. |
| Holidays | Gets the List<T> object which holds the list of holidays (non-working days in addition to weekends). |
| LastDate | Gets or sets the DateTime value specifying maximum date allowed. |
| LastTime | Gets the DateTime value specifying maximum DateTime allowed. |
| StartDayTime | Gets or sets the TimeSpan value specifying the beginning of the working time. |
| TimeFormatString | Gets or sets the string value determining display format of time values to use in appointments and built-in dialogs. |
| TimeInterval | Gets or sets the TimeScaleEnum value specifying the time interval which is used for displaying time slots in the DayView. |
| TimeScale | Gets or sets the TimeSpan value specifying the time interval which is used for displaying time slots in the DayView. |
| WeekStart | Gets or sets the DayOfWeek value determining the first day of the week. Default is system settings. |
| WeekendExceptions | Gets the List<T> object which holds the list of weekend days which should be working. |
| WorkDays | Gets or sets the WorkDays object containing the set of working days in one week. |
| Name | Description |
|---|---|
| CopyFrom(CalendarInfo) | Copies properties from the specified CalendarInfo object to this one. |
| GetDayOfWeekName(DayOfWeek) | Returns the culture-specific full name of the specified day of the week based on the current UI culture. |
| GetDayOfWeekName(DayOfWeek, CultureInfo) | Returns the culture-specific full name of the specified day of the week based on the specified culture. |
| GetFirstWeekDay(DateTime) | Returns the first day of week, containing specified date. |
| GetInstanceName(WeekOfMonthEnum) | Returns the culture-specific full name of the specified instance based on the current UI culture. |
| GetInstanceName(WeekOfMonthEnum, CultureInfo) | Returns the culture-specific full name of the specified instance based on the specified culture. |
| GetMonthName(int) | Returns the culture-specific full name of the specified month based on the current UI culture. |
| GetMonthName(int, CultureInfo) | Returns the culture-specific full name of the specified month based on the specified culture. |
| GetWeekOfYear(DateTime) | returns week of year for the specified date according to the current culture settings |
| IsWorkingDay(DateTime) | Returns true if specified date is not weekend or holiday. |
| IsWorkingInterval(DateTime, DateTime) | Returns true if specified time interval is a working time. |
| Name | Description |
|---|---|
| PropertyChanged | Occurs when the property of CalendarInfo object was changed. |
| SelectedDaysChanged | Occurs when the range of selected days was changed. |