SchedulerControl.VisibleIntervals Property

Provides access to the currently visible time cell intervals. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v21.2.dll

Declaration

public ReadOnlyObservableCollection<DateTimeRange> VisibleIntervals { get; }

Property Value

Type Description
ReadOnlyObservableCollection<DateTimeRange>

A ReadOnlyObservableCollection<T><DateTimeRange,> object that is the collection of visible time intervals.

Remarks

Use the VisibleIntervals to obtain the datetime ranges currently displayed by the SchedulerControl. Handle the SchedulerControl.VisibleIntervalChanged event to perform necessary action before visible intervals are changed.

The number of items in the collection returned by the VisibleIntervals property depends on the number of days, weeks or time intervals simultaneously displayed within the current view. These parameters are represented by the following properties:

Note

The SchedulerControl.Start property is used as a base for calculating visible intervals when rendering a view, but the actual intervals displayed in the view are available using the SchedulerControl.VisibleIntervals property.

See Also