TdxGanttControlCalendar Class
A calendar in the VCL Gantt Control.
Declaration
TdxGanttControlCalendar = class(
TdxGanttControlModelUIDElement
)
Remarks
Calendars allow a user to schedule project stages and define work times for all members (work resources) involved in a project.
You can use a calendar as follows:
- Share the same calendar across all tasks and resources
- Assign an individual calendar to a task and resource
The control ships with the standard calendar. In this calendar, a day is from 8 AM to 5 PM and includes a one-hour lunch break at 12 PM.
You can also add the following calendars:
- 24 Hours. In this calendar, a day continues from 12 AM to 12 AM.
- Night Shift. In this calendar, a day continues from 11 PM to 8 AM and includes a one-hour break at 3 AM.
The TdxGanttControlCalendar class includes the following members that allow you to do the following:
- Access the base calendar settings (BaseCalendar)
- Specify the calendar’s parent (BaseCalendarUID)
- Check if a day or time is workday or time (IsWorkDay and IsWorkTime)
- Specify a calendar name (Name)
- Access the week day collection (WeekDays)
A calendar collection‘s Items property references a TdxGanttControlCalendar object.
Inheritance
See Also