CalendarViewType Enumeration
Description
Indicates the calendar view type.
Members
| Member | Description |
|---|---|
xtpCalendarDayView |
Single Day View. |
xtpCalendarWorkWeekView |
5 Day Work Week View. This is the same as Day View, only the 5 working days (Monday - Friday) are shown. |
xtpCalendarWeekView |
7 Day Week View. |
xtpCalendarMonthView |
Month View. Can display 2–6 weeks at a time. |
xtpCalendarFullWeekView |
Day view - CalendarDayView. All week days are shown. |
xtpCalendarTimeLineView |
Time Line View. Outlook-style Time Line. |
Example
// Example enumeration declaration (illustrative)
enum CalendarViewType
{
xtpCalendarDayView,
xtpCalendarWorkWeekView,
xtpCalendarWeekView,
xtpCalendarMonthView,
xtpCalendarFullWeekView,
xtpCalendarTimeLineView
};
Remarks
The ViewType Property uses this enumeration to switch the calendar's ActiveView. When the view is changed, the ViewChanged Event occurs.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.