Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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