Skip to main content

GridLevelNodeCollection.Add(GridLevelNode) Method

Adds the specified node to the collection.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public void Add(
    GridLevelNode node
)

Parameters

Name Type Description
node GridLevelNode

A GridLevelNode object representing the node to add to the collection.

Remarks

This method appends the specified node to the collection. The order of the nodes in the collection determines the order in which the corresponding master-detail relationships will be displayed in the XtraGrid. To add a node at a specific position use the GridLevelNodeCollection.Insert method.

If the collection already contains the specified node or contains a node which refers to the same relationship as the specified node the Add method does nothing.

See Also