TreeListView.DeleteNode(Int32, Boolean) Method

Removes the specified node and optionally, all its children.

Namespace: DevExpress.Xpf.Grid

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


public void DeleteNode(
    int rowHandle,
    bool deleteChildren
Public Sub DeleteNode(
    rowHandle As Integer,
    deleteChildren As Boolean


Name Type Description
rowHandle Int32

An integer value that identifies the node by its handle.

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