corelibraries-devexpress-dot-xtrascheduler-dot-resourcemappinginfo-4c9f6717.md
Gets or sets the data field which a resource’s ParentId property is bound to.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
[DefaultValue("")]
public virtual string ParentId { get; set; }
<DefaultValue("")>
Public Overridable Property ParentId As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A String value that specifies the name of the bound data field.
|
Use the ParentId property to bind a resource’s Resource.ParentId property to a data field. The data field is taken from the data source specified by the PersistentObjectStorage<T>.DataSource property of the ResourceStorage.
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#L63
mappings.Caption = "Name";
mappings.ParentId = "ParentId";
winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L60
mappings.Caption = "Name"
mappings.ParentId = "ParentId"
See Also