Skip to main content

TdxGanttControlDataModel.ActiveCalendar Property

Returns the calendar used in the project.

Declaration

property ActiveCalendar: TdxGanttControlCalendar read;

Property Value

Type
TdxGanttControlCalendar

Remarks

A calendar specifies how the control calculates a work time. The control includes the following calendar types:

  • Standard. A day continues from 8 AM to 5 PM and includes a one-hour lunch break at 12 PM.
  • 24 Hours. A day continues from 12 AM to 12 AM.
  • Night Shift. A day continues from 11 PM to 8 AM and includes a one-hour break at 3 AM.

Use this property to obtain the calendar assigned to a project. You can use the data model’s Properties.CalendarUID property to change the calendar.

See Also