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

Declaration

public class ResourceMapping :
    PersistentObjectMapping<ResourceDataStorage, Resource>
Public Class ResourceMapping
    Inherits PersistentObjectMapping(Of ResourceDataStorage, Resource)

Returned By

The ResourceStorage.Mappings property returns an instance of ResourceMapping.

Remarks

The ResourceMapping class contains a set of properties whose names are similar to the persistent properties declared within the Resource class. 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.

Examples

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

Inheritance

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