windowsforms-devexpress-dot-xtrascheduler-dot-resourcedatastorage-246e1cb0.md
Gets an object that allows the persistent properties of the resources maintained by the current storage to be bound to appropriate fields in the data source.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public ResourceMappingInfo Mappings { get; }
Public ReadOnly Property Mappings As ResourceMappingInfo
| Type | Description |
|---|---|
| ResourceMappingInfo |
A ResourceMappingInfo object that provides functionality for mapping the properties of the resources to appropriate data fields.
|
Use the Mappings property to access the ResourceMappingInfo object which contains bindings between the Resource properties and appropriate fields in the data source. The data source is specified using the current resource storage’s ResourceDataStorage.DataSource property.
The following code snippets (auto-collected from DevExpress Examples) contain references 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.
winforms-scheduler-sync-with-outlook/CS/SyncWithOutlook/Form1.cs#L192
ResourceMappingInfo resmappings = this.schedulerStorage1.Resources.Mappings;
resmappings.Id = "ResID";
winforms-scheduler-bind-to-custom-objects/CS/CustomObjectsBinding/Form1.cs#L36
private void InitResources() {
ResourceMappingInfo mappings = this.schedulerDataStorage1.Resources.Mappings;
mappings.Id = "ResID";
winforms-scheduler-resolve-appointment-conflicts/CS/DXApplication1/Form1.cs#L23
ResourceMappingInfo mappingsResource = this.schedulerDataStorage1.Resources.Mappings;
mappingsResource.Id = "ResID";
winforms-scheduler-serialize-deserialize-appointments/CS/DXApplication1/Form1.cs#L25
ResourceMappingInfo mappingsResource = this.schedulerDataStorage1.Resources.Mappings;
mappingsResource.Id = "ResID";
winforms-scheduler-bind-to-custom-objects/VB/CustomObjectsBinding/Form1.vb#L39
Private Sub InitResources()
Dim mappings As ResourceMappingInfo = SchedulerDataStorage1.Resources.Mappings
mappings.Id = "ResID"
winforms-scheduler-resolve-appointment-conflicts/VB/DXApplication1/Form1.vb#L18
InitHelper.InitResources(CustomResourceCollection)
Dim mappingsResource As ResourceMappingInfo = schedulerDataStorage1.Resources.Mappings
mappingsResource.Id = "ResID"
winforms-scheduler-serialize-deserialize-appointments/VB/DXApplication1/Form1.vb#L17
InitHelper.InitAppointments(CustomEventList, CustomResourceCollection)
Dim mappingsResource As ResourceMappingInfo = schedulerDataStorage1.Resources.Mappings
mappingsResource.Id = "ResID"
See Also