windowsforms-devexpress-dot-xtrascheduler-dot-resourcestorage-ddfc77d5.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.
|
Important
This API is intended to be used with the legacy SchedulerStorage only. Starting with version 18.1, SchedulerStorage and all of its satellite storages are replaced with their updated versions.
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 PersistentObjectStorage<T>.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-gantt-view/CS/dxT183299/Form1.cs#L59
{
ResourceMappingInfo mappings = this.schedulerStorage.Resources.Mappings;
mappings.Id = "ResID";
winforms-scheduler-handle-fetchappointments-event/CS/Form1.cs#L27
void InitResources() {
ResourceMappingInfo mappings = this.schedulerStorage1.Resources.Mappings;
mappings.Id = "ResID";
private void InitResources() {
ResourceMappingInfo mappings = this.schedulerStorage1.Resources.Mappings;
mappings.Id = "ResID";
winforms-scheduler-replace-default-command/CS/WindowsFormsApplication1/Form1.cs#L38
private void InitResources() {
ResourceMappingInfo mappings = this.schedulerStorage1.Resources.Mappings;
mappings.Id = "ResID";
winforms-scheduler-customize-appointment-flyout/CS/CustomAppointmentFlyoutExample/DataHelper.cs#L16
public static void InitResources(SchedulerStorage storage) {
ResourceMappingInfo mappings = storage.Resources.Mappings;
mappings.Id = "ResID";
winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L56
Private Sub InitResources()
Dim mappings As ResourceMappingInfo = Me.schedulerStorage.Resources.Mappings
mappings.Id = "ResID"
winforms-scheduler-handle-fetchappointments-event/VB/Form1.vb#L32
Private Sub InitResources()
Dim mappings As ResourceMappingInfo = schedulerStorage1.Resources.Mappings
mappings.Id = "ResID"
Private Sub InitResources()
Dim mappings As ResourceMappingInfo = schedulerStorage1.Resources.Mappings
mappings.Id = "ResID"
winforms-scheduler-replace-default-command/VB/WindowsFormsApplication1/Form1.vb#L38
Private Sub InitResources()
Dim mappings As ResourceMappingInfo = Me.schedulerStorage1.Resources.Mappings
mappings.Id = "ResID"
winforms-scheduler-customize-appointment-flyout/VB/CustomAppointmentFlyoutExample/DataHelper.vb#L17
Public Sub InitResources(ByVal storage As SchedulerStorage)
Dim mappings As ResourceMappingInfo = storage.Resources.Mappings
mappings.Id = "ResID"
See Also