I am developing a WPF 4.0 application where I need to make a grid that contains a column with either textbox or a dropdown depending on the row. Example:
| N
You can do that using a template column.
This one will show one or two text boxes depending on the data in the row.
The CellTemplate is shown normally, but it is replaced with CellEditingTemplate when the row is edited.