Skip to main content
A newer version of this page is available. .

TimeIntervalCollection Class

A collection of time intervals.

Namespace: DevExpress.XtraScheduler

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

Declaration

public class TimeIntervalCollection :
    SchedulerCollectionBase<TimeInterval>,
    ICloneable

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.

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.

See Also