Back to Devexpress

TdxGanttControlCalendars.CreateNightCalendar Method

vcl-dxganttcontrolcalendars-dot-tdxganttcontrolcalendars-97775814.md

latest1.1 KB
Original Source

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

BaseCalendar

TdxGanttControlCalendars Class

TdxGanttControlCalendars Members

dxGanttControlCalendars Unit