I am required to create data grid dynamically. On some condition the datagrid will have controls as textbox / combobox / textblock.
Column1 Column2 Column3
value1 Combobox value2
value3 textbox value4
Please suggest some idea to create and add controls dynamically. As this datagrid should be created in xaml.cs file and all required controls can be added in code behind only.
It is not necessary to use datagrid only. Please suggest if there is other way around.