treeView control layout

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
H

Hrvoje Voda

How can I check if the parent root is "Opened"?
I mean if a user has expand the treeview and he can see the child root ?

Hrcko
 
a check of ((CurrentNode.Parent!=null) &&
(CurrentNode.Parent.IsExpanded==true))
would make sure there is a parent node and then see if it was
expanded. This of course assumes that you are using the standard
TreeView control.
 
Back
Top