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
3305
I Can't collpse all Items in my Xam Tree????
posted

I have this simple code I call

  foreach (XamTreeItem item in treeCatType.XamTreeItems)
            {
                item.IsExpanded = false;
            }
but everytime I call it the XamTreeItems.Count=0 ?????
it's Itemsource is a binding to collection of 2 tiered objects.
Everything else seems to be working but this code never does.
Any Ideas why?