Back to Devexpress

TreeList.EndUpdate() Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-df004310.md

latest3.1 KB
Original Source

TreeList.EndUpdate() Method

Unlocks the TreeList object after a call to the BeginUpdate method and causes an immediate visual update.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public virtual void EndUpdate()
vb
Public Overridable Sub

Remarks

See the TreeList.BeginUpdate topic to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the EndUpdate() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-treelist-save-restore-expanded-state-of-nodes/CS/TreeListViewState.cs#L58

csharp
finally {
    TreeList.EndUpdate();
    TreeListNode topVisibleNode = TreeList.FindNodeByKeyID(topNode);

drag-drop-grid-rows-to-treelist/CS/DragAndDropRows/Form1.cs#L88

csharp
}
    treeList.EndUpdate();
}

winforms-treelist-save-restore-expanded-state-of-nodes/VB/TreeListViewState.vb#L63

vb
Finally
    TreeList.EndUpdate()
    Dim topVisibleNode As TreeListNode = TreeList.FindNodeByKeyID(topNode)

drag-drop-grid-rows-to-treelist/VB/DragAndDropRows/Form1.vb#L85

vb
treeList.EndUpdate()
End Sub

See Also

BeginUpdate()

CancelUpdate()

LayoutChanged()

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace