windowsforms-devexpress-dot-xtratreelist-dot-treelist-2689a11b.md
Forces the Tree List control to re-filter its data.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public virtual void FilterNodes()
Public Overridable Sub FilterNodes
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FilterNodes() 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-tokenedit-dropdown-with-treelist/CS/TokenEditTest/CustomTokenEditDropDownControl.cs#L29
this.currentFilter = filter;
TreeList.FilterNodes();
if(TreeList.VisibleNodesCount == 0) OwnerEdit.ClosePopup(PopupCloseMode.Cancel);
winforms-tokenedit-dropdown-with-treelist/VB/TokenEditTest/CustomTokenEditDropDownControl.vb#L31
Me.currentFilter = filter
TreeList.FilterNodes()
If TreeList.VisibleNodesCount = 0 Then
See Also