MVCxResourceStorage Class
A storage which holds appointment resources.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Related API Members
The following members return MVCxResourceStorage objects:
Remarks
The MVCxResourceStorage class represents a storage which holds resources. The functionality of the MVCxResourceStorage class can be accessed via the ASPxSchedulerStorage.Resources property.
To associate a resource with an appointment, this resource should be added to the MVCxResourceStorage object and then bound to the appointment via the Appointment.ResourceId property. It represents a resource ID specified by the IPersistentObject.Id property.
Use the ASPxResourceStorage.Mappings property to specify which fields in the bound data source hold a resource’s caption, color, image and ID. The values of these fields will be synchronized with the corresponding properties of Resource objects. The ASPxResourceStorage.CustomFieldMappings enables you to create an extra set of properties, bound to data fields.