January 17th, 2013, 04: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