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.v19.2.Core.dll

Declaration

[DefaultValue(null)]
public virtual object DataSource { get; set; }
<DefaultValue(Nothing)>
Public Overridable Property DataSource As Object

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.

Implements

See Also