GroupNode Location Problem?

Hi ,

I have a model which groupNodes are located regulary.When I expand any groupNode, I set other groupNodes’ visibility false, and when I collapse, all groupNode’s visibilities are set to true again.But there is a problem , when I collapse the expanded groupNode, it does’nt locate the old place, it goes a bit at X and Y side. I want expanded groupNode is located at old location .

How can I correct this issue?

Thanks for the replies in advance…

That sounds a lot like the Local Expand sample in the demo app. It uses the current mouse position to decide which groups to keep expanded and then collapses all the rest. If you ignore appearances, how is your app’s Group DataTemplate meaningfully different?