The requested page is not available for the requested platform. You are viewing the content for Default platform.

MVCxResourceStorage Class

A storage which holds appointment resources.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public class MVCxResourceStorage :
    ASPxResourceStorage
Public Class MVCxResourceStorage
    Inherits ASPxResourceStorage

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.

Implements

DevExpress.Utils.IBatchUpdateHandler
DevExpress.Data.IDataControllerData2
DevExpress.Data.IDataControllerData
DevExpress.Utils.IBatchUpdateable
See Also