TreeView Winforms if a node can bee 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
精彩评论