WinUI 3 Data Grid Having Different Formatting For Each Cell Using the DataTemplateSelector Class
I’m trying to create a simple data grid in WinUI 3 that uses custom DataTemplate
that vary for the second column, creating different formatting for the second column’s cells depending on the data type of the cell’s data. A boolean would have a CheckBox
and a string would have a TextBox
.