Skip to main content
A newer version of this page is available. .

MVCxResourceStorage Class

A storage which holds appointment resources.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc.v18.1.dll

Declaration

public class MVCxResourceStorage :
    ASPxResourceStorage

The following members accept/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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MVCxResourceStorage class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also