font color to the silverlightdatgrid cell of particular column while binding
i just want to apply font color to the text of a sil开发者_Go百科verlight datgrid cell for a particular column while binding the itemsource
how can that be accomplished?
Make that column a DataGridTemplateColumn
and in it's CellTemplate have the ForegroundColor
set by a binding with a ValueConverter that determines the correct color. In your value converter you place the logic to choose the correct color.
精彩评论