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

DiagramNodeMappingInfo.ParentKey Property

Specifies the name of a data source field that provides a parent node key for a node.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v19.2.dll

Declaration

[DefaultValue("")]
public string ParentKey { get; set; }

Property Value

Type Default Description
String String.Empty

The field name.

Remarks

Online Demo

Diagram - Data Binding

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px" NodeDataSourceID="DepartmentDemoDataSource" >
    <Mappings>
        <Node Key="ID" Text="DepartmentName" ParentKey="ParentID" />
    </Mappings>
</dx:ASPxDiagram>
See Also