Color of a single row of a data grid

  • Thread starter Thread starter Saurabh Sharma
  • Start date Start date
S

Saurabh Sharma

Hi
I want to change the color of the single row of a data grid.
Can some body tell me how it can be done

Regards
Saurabh Sharma
 
check out the DataGrid.Items property, it will return a collection of
DataGridItem objects. Each DataGridItem object has a BackColor property

HTH

Ollie Riches
 
Hi
Items property is useful when we add each entry as a seperate item. But in
my case I am adding it as a row with some colums.
So i want to know if it possible to change the properties of a row.

Saurabh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top