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