Hi there,
Look at the
DataGrid.Items collection. It returns a collection of DataGridItem objects (which derive from TableRow).
You can then do something like this:
For Each myItem As DataGridItem in MyDataGrid.Items
' Work with myItem here. For example, get a reference to cell 1
' And set its BG color
myItem.Cells(0).BackColor = Color.Black
Next
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.