I'm using the MVVM pattern with Xceed's WPF DataGridControl
and I've bound a column of my grid to a boolean property on my view-model/data-context.
By default it displays as a checkbox, instead I'd like to display an image e.g. a smile face for True
and a sad face for False
. It doesn't need to behave like a checkbox as the column is read-only.
What is the best way to achieve this?