January 17th, 2013, 03:46 AM
Add dynamic control using MVVM??
I want to create dynamic controls (i.e: textbox, ComboBox, DatePicker...) from Viewmodel class and then bind them to XAML.
- More detail: i will get data from database to get DataType, base on this i determine the how XAML displays. If data is a list, i will generate ComboBox control and bind it. If data is DateTime, generating DatePicker and bind to View (XAML)...
So could anyone help me how to do? It's urgent for me
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!