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

TdxGanttControlCalendars.CreateNightCalendar Method

Creates a new “Night Shift” calendar and appends it to the collection.

#Declaration

Delphi
function CreateNightCalendar: TdxGanttControlCalendar; virtual;

#Returns

Type
TdxGanttControlCalendar

#Remarks

In this calendar, a day continues from 11 PM to 8 AM, includes a one-hour break at 3 AM and a workweek starts on Monday and finishes on Saturday.

This function returns the new calendar added to the end of the collection. You can call the Remove procedure to remove a calendar from the collection.

See Also