Hi,
I'd like to implement a SL application similar to the TasksInTabs sample. I plan to have a main page containing a ContentControl to hold the views. Is it possible to set the view's parent container when activating it?
Morten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please examine the source code of the SilverlightViewsManager and accompanying RootUserControl classes. Briefly, every activated view which doesn't have a parent yet gets added to the root Grid control. In your custom views manager you may use the same technique.
Regards,
--
Oleg Zhukov
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Oleg,
Thanks for the help. I managed to get this working with the new SilverlightViewsManager class in your "Silverlight views manager.." sample. This is an impressive framework. Thank you.
Morten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'd like to implement a SL application similar to the TasksInTabs sample. I plan to have a main page containing a ContentControl to hold the views. Is it possible to set the view's parent container when activating it?
Morten
Hi Morten,
Please examine the source code of the SilverlightViewsManager and accompanying RootUserControl classes. Briefly, every activated view which doesn't have a parent yet gets added to the root Grid control. In your custom views manager you may use the same technique.
Regards,
--
Oleg Zhukov
Hi Oleg,
Thanks for the help. I managed to get this working with the new SilverlightViewsManager class in your "Silverlight views manager.." sample. This is an impressive framework. Thank you.
Morten