Skip to main content

SchedulerPrintAdapter.GetTimeIntervals() Method

Obtains the time interval for display.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public TimeIntervalCollection GetTimeIntervals()

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.

See Also