corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdependencymappinginfo-1f895e3d.md
Gets or sets the data field which an AppointmentDependency’s DependentId property is bound to.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
[DefaultValue("")]
public virtual string DependentId { get; set; }
<DefaultValue("")>
Public Overridable Property DependentId As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A String value that specifies the name of the bound data field.
|
Use the DependentId property to bind an appointment dependency’s AppointmentDependency.DependentId property to a data field. The data field is taken from the data source specified by the property of the AppointmentDependencyStorage.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DependentId 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#L46
AppointmentDependencyMappingInfo mappings = schedulerStorage.AppointmentDependencies.Mappings;
mappings.DependentId = "DependentId";
mappings.ParentId = "ParentId";
winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L44
Dim mappings As AppointmentDependencyMappingInfo = schedulerStorage.AppointmentDependencies.Mappings
mappings.DependentId = "DependentId"
mappings.ParentId = "ParentId"
See Also
AppointmentDependencyMappingInfo Class