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.2.Core.Desktop.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Object | null | An Object that represents the storage’s data source. |
Remarks
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.
Note
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.