Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListView.SaveNodesState() Method

In This Article

Saves the current nodes state to the memory.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void SaveNodesState()

#Remarks

The SaveNodesState method saves information about the nodes state (i.e., which nodes are expanded and which are selected). To restore the nodes state, call the TreeListView.RestoreNodesState method. Calling the TreeListView.RestoreNodesState method discards saved information.

See Also