windowsforms-devexpress-dot-xtrascheduler-dot-appointmentdependencystorage.md
Gets an object that specifies bindings established between persistent properties of the appointment dependencies maintained by the current storage and appropriate fields in the data source.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public AppointmentDependencyMappingInfo Mappings { get; }
Public ReadOnly Property Mappings As AppointmentDependencyMappingInfo
| Type | Description |
|---|---|
| AppointmentDependencyMappingInfo |
An AppointmentDependencyMappingInfo object containing information on the mapping of the dependency’s properties to the 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 AppointmentDependencyMappingInfo object that specifies bindings of the AppointmentDependency properties to the appropriate fields in the data source. The data source is specified using the PersistentObjectStorage<T>.DataSource property of the current appointments storage.
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.
winforms-scheduler-gantt-view/CS/dxT183299/Form1.cs#L45
{
AppointmentDependencyMappingInfo mappings = schedulerStorage.AppointmentDependencies.Mappings;
mappings.DependentId = "DependentId";
winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L43
Private Sub InitDependencies()
Dim mappings As AppointmentDependencyMappingInfo = schedulerStorage.AppointmentDependencies.Mappings
mappings.DependentId = "DependentId"
See Also
AppointmentDependencyStorage Class