Skip to main content

ResourceMapping Class

Provides information on the mapping of the resource properties to appropriate data fields.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public class ResourceMapping :
    PersistentObjectMapping<IResourceStorageBase, Resource>

The following members return ResourceMapping objects:

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.

The ResourceMapping class contains a set of properties whose names are similar to the persistent properties declared within the Resource interface. If the resources storage object (ResourceStorage) is bound to a data source via its DataSource property, the properties of the ResourceMapping class allow the corresponding persistent properties of resources to be bound to appropriate fields in the data source.

A ResourceMapping object can be accessed via the resources storage’s ResourceStorage.Mappings property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ResourceMapping 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.

Inheritance

Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
DevExpress.Xpf.Core.DXFrameworkElement
DevExpress.Xpf.Scheduler.SchedulerFrameworkElement
DevExpress.Xpf.Scheduler.PersistentObjectMapping<IResourceStorageBase, Resource>
ResourceMapping
See Also