TimeIntervalCollection Class
A collection of time intervals.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
Related API Members
The following members accept/return TimeIntervalCollection objects:
Library | Related API Members |
---|---|
Cross-Platform Class Library | FreeTimeCalculator.CalculateFreeTime(TimeInterval) |
FreeTimeCalculator.CalculateFreeTime(TimeInterval, Resource) | |
SchedulerPrintAdapter.GetTimeIntervals() | |
TimeInterval.Subtract(TimeInterval) | |
TimeIntervalCollection.Clone() | |
TimeIntervalsValidationEventArgs.Intervals | |
WinForms Controls | SchedulerViewBase.GetVisibleIntervals() |
SchedulerViewInfoBase.VisibleIntervals | |
WPF Controls | SchedulerViewBase.GetVisibleIntervals() |
ASP.NET Web Forms Controls | SchedulerViewBase.GetVisibleIntervals() |
Remarks
The TimeIntervalCollection represents a collection of TimeInterval objects. The properties and methods declared by this class can be used to perform common collection operations such as adding new or deleting existing items. Individual items can be accessed using indexer notation.
The TimeIntervalCollection class also serves as a base for the collections that contain time intervals of different types.
An instance of the TimeIntervalCollection class can be accessed via the SchedulerViewBase.VisibleIntervals property of the View object.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the TimeIntervalCollection class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.