开发者

TreeView Winforms if a node can bee seen?

开发者 https://www.devze.com 2022-12-21 13:24 出处:网络
I have a treeView , and i want to know if some node can be seen by a user. I mean that no node abave it not needed to be expanded that that node will be seen .

I have a treeView , and i want to know if some node can be seen by a user. I mean that no node abave it not needed to be expanded that that node will be seen .

Any idea how i can check this with out rotating to upper lever for that ? Checked msdn but couldn't see property responsible for that ....

Some Example will real开发者_JAVA技巧ly help....

Thanks a lot for help.


I assume if you want to know if a treenodes parent is expanded

TreeNode.Parent.IsExpanded


I think this is what you need:

Node myNode;
if(myNode.Parent.Expanded)
  //Visible
0

精彩评论

暂无评论...
验证码 换一张
取 消