Basic use of TreeView control

Basic use of TreeView control

Insert picture description here
Insert picture description here

Insert picture description here

Insert picture description here
Insert picture description here

Insert picture description here

Insert picture description hereInsert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Node depth

TreeView对象.SelectedNode.Level

The return value is of type int
, and the level of the root node is 0

Node text

TreeView对象.SelectedNode.Text
```在这里插入图片描述

Guess you like

Origin blog.csdn.net/qq_50722361/article/details/111028075