We're looking for a straightforward way to set the text colour of a cell based on the value of a cell. The markup below gives: Error: Position 79:32. No property, bindable property, or event found for 'TextColor', or mismatching type between value and property.
Will CellContentStyleSelector work and is that the only option?
<
telerikDataGrid:DataGridNumericalColumn
PropertyName
=
"EmployeeRating"
HeaderText
=
"Rating"
>
<
telerikDataGrid:DataGridNumericalColumn.CellContentStyle
>
<
telerikDataGrid:DataGridTextCellStyle
TextColor
=
"{Binding EmployeeRatingTextColor}"
SelectedTextColor
=
"Black"
FontSize
=
"15"
/>
</
telerikDataGrid:DataGridNumericalColumn.CellContentStyle
>
</
telerikDataGrid:DataGridNumericalColumn
>