I am working on c# silverlight5 and i am using mvvm approach to do so. I have a situation where i have to create container in xaml which could accomodate the GUI which contains combo box and labels and text boxes which are created using c# code.
I then i have to bind this container created in xaml to use it in c#.
This container could be something like stackpanel on which i can have combobox and textbox and label which are created in c#.
Conclusion:
(1)Xaml file will consist of container and binding . (2) c# code will contain the code for combo box and text box and label and binds the this on container created in xaml.
Could some one please give me a small sample doing this. would be a big help.