Skip to main content

SchedulerViewInfoBase.CellContainers Property

Provides access to visible time cells in the current View.

Namespace: DevExpress.XtraScheduler.Drawing

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public SchedulerViewCellContainerCollection CellContainers { get; }

Property Value

Type Description
DevExpress.XtraScheduler.Drawing.SchedulerViewCellContainerCollection

A DevExpress.XtraScheduler.Drawing.SchedulerViewCellContainerCollection class instance, representing a container for visible cells.

Remarks

The following code illustrates how the CellContainers property can be use to determine the interval of the leftmost bottom cell in the current View.

DevExpress.XtraScheduler.Drawing.SchedulerViewCellBaseCollection firstColumnCells =
         schedulerControl.ActiveView.ViewInfo.CellContainers[0].Cells;
int cellsCount = firstColumnCells.Count;
TimeInterval endOfColumn = firstColumnCells[cellsCount - 1].Interval;
See Also