Skip to content

Commit 24ff0ab

Browse files
Update README.md
1 parent e8d914f commit 24ff0ab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# How to filter the tree node based on the node ID in winforms treeviewadv?
1+
# How to filter the tree node based on the node ID in WinForms treeviewadv?
22

33
## Filter the node based on NodeID
44

5-
In the [TreeViewAdv](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeViewAdv.html), [TreeNodeAdv](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeNodeAdv.html) can be filtered based on its value by performing the iteration process. The following code example demonstrates the same.
5+
In the [WinForms TreeViewAdv](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeViewAdv.html), [TreeNodeAdv](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeNodeAdv.html) can be filtered based on its value by performing the iteration process. The following code example demonstrates the same.
66

77
**C# Code snippet:**
88

@@ -16,6 +16,7 @@ for(int nodeId = 0; nodeId <= 10000; nodeId++)
1616
customNode.Text = "Node" + nodeId.ToString();
1717
this.treeViewAdv1.Nodes.Add(customNode);
1818
}
19+
1920
//Iterates the nodes in the TreeViewAdv
2021
foreach (CustomTreeNodeAdv item in this.treeViewAdv1.Nodes)
2122
{
@@ -30,7 +31,7 @@ foreach (CustomTreeNodeAdv item in this.treeViewAdv1.Nodes)
3031

3132
```
3233

33-
**VB Code snippet:**
34+
**VB.Net Code snippet:**
3435

3536
```VB
3637

@@ -41,6 +42,7 @@ For nodeId As Integer = 0 To 10000
4142
customNode.Text = "Node" & nodeId.ToString()
4243
Me.treeViewAdv1.Nodes.Add(customNode)
4344
Next nodeId
45+
4446
'Iterates the nodes in the TreeViewAdv
4547
For Each item As CustomTreeNodeAdv In Me.treeViewAdv1.Nodes
4648
'Gets the TextBox value

0 commit comments

Comments
 (0)