Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlDataModel.ActiveCalendar Property

Returns the calendar used in the project.

#Declaration

Delphi
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