Replies
0
Yes I did that to no avail…
what I had to do was
1. Cycle through cells and change border
2.Cycle through rows and change border
code is below…
Dim col As UltraGridColumn
For Each col In Me.grdWork.DisplayLayout.Bands(0).Columns
' Here we "turn off" theming for the column header.
col.Header.Appearance.ThemedElementAlpha = Infragistics.Win.Alpha.Transparent
col.CellAppearance.ThemedElementAlpha = Infragistics.Win.Alpha.Transparent
col.CellAppearance.BorderColor = Color.Black
col.CellAppearance.BorderColor2 = Color.Black
col.Header.Appearance.BackColor = Me._headerColor
col.Header.Appearance.BorderColor = Color.Black
col.Header.Appearance.BorderColor2 = Color.Black
Next
For Each gridRow In grdWork.Rows
'DR = CType(gridRow.DataBoundItem, System.Data.DataRowView).Row
DR = CType(gridRow.ListObject, System.Data.DataRowView).Row
'gridRow.DefaultCellStyle.ForeColor = Me._presenter.GetItemColor(DR)
gridRow.CellAppearance.ForeColor = Me._presenter.GetItemColor(DR)
gridRow.Appearance.BorderColor = Color.Black
gridRow.Appearance.BorderColor2 = Color.Black
Next