Skip to main content

ResourceStorage.Mappings Property

Contains information on mappings of standard resource properties to appropriate fields in a datasource.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public ResourceMapping Mappings { get; set; }

#Property Value

Type Description
ResourceMapping

A ResourceMapping object providing functionality for mapping resource properties to appropriate data fields.

#Remarks

Use the Mappings property to bind the Resource properties to the appropriate fields in the datasource, specified via the DataSource property of the current ResourceStorage.

If the properties provided by the ResourceMapping object are insufficient, and you need to display more information concerning resources, you should use the ResourceStorage.CustomFieldMappings property to map these custom properties to the appropriate fields in a datasource.

To see step-by-step instructions on how to bind a SchedulerControl to the resource datasource and specify mappings of resource properties to data fields, refer to Lesson 2 - Provide Resources for Appointments.

#Examples

This example demonstrates how to get access to the scheduler storage and modify its properties. For this, the SchedulerControl.Storage property is used.

See Also