TreeListView.DeleteNode(TreeListNode, Boolean) Method

Removes the specified node and optionally, all its children.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll


public void DeleteNode(
    TreeListNode node,
    bool deleteChildren
Public Sub DeleteNode(
    node As TreeListNode,
    deleteChildren As Boolean


Name Type Description
node TreeListNode

A TreeListNode object that is the node to remove.

deleteChildren Boolean

true to remove all child nodes; otherwise, false.


If the deleteChildren parameter is set to false, child nodes are moved to the Root.

See Also