BreadcrumbControl.ParentMember Property
Gets or sets the name of the service field in a data source that contains parent node values. This is a dependency property.
Namespace: DevExpress.Xpf.Controls
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
String | A String specifies the name of the data source field that contains parent values. |
Remarks
To display hierarchical data, a data source should contain two additional fields. The first field must contain unique values. Its name is specified by the KeyMember property. The second field must contain values that indicate parent nodes for the current node. Its name is specified by the ParentMember property.
Note
The data types of the data source fields specified by the KeyMember and ParentMember properties, must be the same. These values (key and parent) cannot be equal for a node.