Skip to main content

PersistentObjectStorage<T>.DataSource Property

Gets or sets the object used as the data source to store persistent objects (appointments, resources or appointment dependencies).

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.CoreDesktop


public virtual object DataSource { get; set; }

Property Value

Type Description

An Object that represents the storage’s data source.


Use the DataSource property to specify the data source from which the current storage object will obtain information about the persistent objects (appointments, resources or appointment depndencies) it contains.


Enclose appointment and resource data source assignments in an PersistentObjectStorage<T>.BeginUpdate - PersistentObjectStorage<T>.EndUpdate transaction pair. This step is required because layout calculation starts asynchronously immediately after each data source assignment. In the case of several data source assignments which follow each other, the layout events may occur before a layout is finalized.

See Also