c# - WPF DataGrid: setting style for an individual cell -
i trying change foreground color of datagrid
cell.
i trying use class extending imultivalueconverter
, i'd bind item used generate row , name of column.
i read other q&a , saw suggest use multibinding
not sure how add bindings
i managed solve issue.
i needed change properties wanted highlight different color decorating them contain information whether value needed special formatting.
then created binding each datagrid
column described in this other q&a. bound decorated property , used ivalueconverter
obtain brush
color wanted use.
Comments
Post a Comment