Skip to main content

TreeList.DeleteNode(TreeListNode) Method

Removes a specific TreeListNode from the XtraTreeList.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v22.2.dll

NuGet Package: DevExpress.Win.TreeList

Declaration

public void DeleteNode(
    TreeListNode node
)

Parameters

Name Type Description
node TreeListNode

The removed TreeListNode.

Remarks

When a specific TreeListNode is removed from the TreeList control when using this method, the summary is recalculated in order to reflect changes. Use the TreeListNodes.Add method to add node to the collection.

See Also