SchedulerPrintAdapter.GetTimeIntervals() Method

Obtains the time interval for display.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

public TimeIntervalCollection GetTimeIntervals()
Public Function GetTimeIntervals As TimeIntervalCollection

Returns

Type Description
TimeIntervalCollection

A TimeIntervalCollection object containing time intervals used for displaying appointments.

Remarks

If the SchedulerPrintAdapter.TimeInterval is not specified, the visible intervals of the original Scheduler is used. The visible intervals of the SchedulerControl can be obtained via the SchedulerViewBase.GetVisibleIntervals method.

To validate the specified time interval, handle the SchedulerPrintAdapter.ValidateTimeIntervals event.

Implements

DevExpress.XtraScheduler.Reporting.ISchedulerTimeIntervalProvider.GetTimeIntervals()
See Also