Back to Devexpress

TreeListView.DeleteNode(Int32, Boolean) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-deletenode-x28-system-dot-int32-system-dot-boolean-x29.md

latest1.4 KB
Original Source

TreeListView.DeleteNode(Int32, Boolean) Method

Removes the specified node and optionally, all its children.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
rowHandleInt32

An integer value that identifies the node by its handle.

| | deleteChildren | Boolean |

true to remove all child nodes; otherwise, false.

|

Remarks

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

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace