views:

124

answers:

0

The scenario is: In my Window, I have a TreeView, each item of this represents different user-defined types, So I have defined DataTemplate for each type. These DataTemplates are using user-controls and these usercontrols are binded with properties of user-defined types. As simple, TreeView maps a Hierarchical Data Structure of user-defined types. Now I read from Xml and create the Heirarchical structure and assign it to TreeView and it takes a lot of time to load. It already has some default nodes and updates itself for other nodes. I want to show a wait cursor until it get loaded and available to use for user, but I am not getting any event to notify me this, Is there any such event? What else can I do? Any help?