Back to Devexpress

AppointmentDependencyMappingInfo.ParentId Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdependencymappinginfo-bb18767b.md

latest3.0 KB
Original Source

AppointmentDependencyMappingInfo.ParentId Property

Gets or sets the data field which an AppointmentDependency’s ParentId property is bound to.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
[DefaultValue("")]
public virtual string ParentId { get; set; }
vb
<DefaultValue("")>
Public Overridable Property ParentId As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the name of the bound data field.

|

Remarks

Use the ParentId property to bind an appointment dependency’s AppointmentDependency.ParentId 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 ParentId 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#L47

csharp
mappings.DependentId = "DependentId";
mappings.ParentId = "ParentId";
mappings.Type = "Type";

winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L45

vb
mappings.DependentId = "DependentId"
mappings.ParentId = "ParentId"
mappings.Type = "Type"

See Also

AppointmentDependencyMappingInfo Class

AppointmentDependencyMappingInfo Members

DevExpress.XtraScheduler Namespace