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.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

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

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Use the Mappings property to bind the Resource properties to the appropriate fields in the data source, specified via the PersistentObjectStorage<T>.DataSource property of the current ResourceStorage.

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

To get step-by-step instructions on how to specify mappings of resource properties to data fields, refer to How to: Bind a Scheduler to MS Access Database (Part 2) (legacy).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Mappings property.

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