Skip to main content
A newer version of this page is available. .

DataControlDetailDescriptor.ParentPath Property

Gets or sets the a detail item property that contains the reference to its master item. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public string ParentPath { get; set; }

Property Value

Type Description
String

A path to the View Model.

Remarks

The ParentPath property allows you to enable the binding from the ViewModel to the grid.

The ParentPath property should be assigned to a detail item property that contains the reference to its master item. This way, the master grid can determine the detail grid in which the current item will be updated.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ParentPath 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.

See Also