A newer version of this page is available. Switch to the current version.

SchedulerStorage.Resources Property

Gets the object which manages resources for appointments.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll


public ResourceStorage Resources { get; }
Public ReadOnly Property Resources As ResourceStorage

Property Value

Type Description

A ResourceStorage object which manages resources for appointments.



This API is intended to be used with the legacy SchedulerStorage only. Starting with version 18.1, SchedulerStorage and all of its satellite storages are replaced with their updated versions.

Appointments can be associated with resources. A resource is an object which has the following attributes: a unique identifier, caption, color and an image. Consider an application which schedules rooms in a hotel. In this application hotel rooms can be represented as resources which can be occupied by tourists.

The Resources property maintains a collection of resources for appointments. You can load resources from a data source by specifying the DataMember and DataSource properties of the ResourcesStorage object. Or you can populate the collection manually by adding items via the ResourceStorageBase.Items property.

Each item in the collection is an object which exposes the Resource interface.

In bound mode, the XtraScheduler control obtains information on appointments from a database which is specified by the DataMember and DataSource properties of the SchedulerStorage.Appointments object. In this mode resources from the Resources collection can be associated with the appointments via the AppointmentMappingInfo.ResourceId property.

In unbound mode, resources can be associated with appointments manually via the Appointment.ResourceId property.

See Also