Skip to content

Commit 1228f89

Browse files
authored
Merge pull request #3 from SyncfusionExamples/SweathaBharathi-patch-1
Update README.md
2 parents 744576b + 3afb03b commit 1228f89

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# How-to-count-checked-nodes-of-WF-TreeViewAdv
2-
This respository contains the sample that how to count the checked nodes of WF TreeViewAdv control.
1+
# How to count all checked nodes of WinForms TreeViewAdv?
2+
3+
## About Sample
4+
This sample provides the demo on how to get the count for all checked nodes [WinForms TreeViewAdv](https://www.syncfusion.com/winforms-ui-controls/treeview).
5+
6+
You can get the count for all checked nodes in [WinForms TreeViewAdv](https://www.syncfusion.com/winforms-ui-controls/treeview) control by using [CheckedNodes](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TreeViewAdv.html#Syncfusion_Windows_Forms_Tools_TreeViewAdv_CheckedNodes) property. Refer the below code for your reference.
7+
8+
**C#**
9+
```csharp
10+
int checkedCount = treeView1.CheckedNodes.Count;
11+
```
12+
13+
**VB.Net**
14+
```csharp
15+
Dim checkedCount As Integer = treeView1.CheckedNodes.Count
16+
```
17+
18+
![count of checked nodes](output.png)
19+
20+
Take a moment to peruse the [WinForms TreeViewAdv - CheckBox](https://help.syncfusion.com/windowsforms/treeview/getting-started#checkbox) documentation, to learn more about checkbox with examples.
21+
22+
## Requirements to run the demo
23+
24+
Visual Studio 2015 and above versions

0 commit comments

Comments
 (0)