Change Datagrid row

  • Thread starter Thread starter pcPirate
  • Start date Start date
P

pcPirate

Hi,

I have a Datagrid with 4 Columns, 4 Rows. The first column value is '1',
'2', '3', '1'.

i) Is it possible to change the whole Row forecolour into Blue if the first
column's value is '1' ?

Pls advise and thanks in advance.

pcPirate
 
Hi,
For that you need to override DataGridTextBoxColumnStyle
and create your own ColumnStyle class in which in paint
you can change the forecolor property, that gives you the
control.

Shravan.
 
Back
Top