Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Selectively Expand/Collapse Nodes within a WinTree
posted

I start by calling MyTree.ExpandAll ( ExpandAllType.Always );

Then, using recursion and special .Tag values, I want to selectively collapse certain nodes using node.Expanded = false;

The ExpandAll () works fine (CollapseAll () also works fine). The node.Expanded does nothing.

 

Parents
  • 69832
    Offline posted

    My guess is that there is a flaw in the recursion logic because ExpandAll, CollapseAll, and the Expanded property set method all call into the same internal routine. If you post a brief code example demonstrating the problem you are having, we can try to help.

Reply Children
No Data