|
Group: Forum Members
Posts: 33,
Visits: 88
|
I am trying to highlight rows in an enhancedlist based on a value in the grid. Below what I have coded in an attempted to make this happen, but I must be missing something. Any help would be appreciated.
Private Sub grdMain_RowPopulating(ByVal e As MicroFour.StrataFrame.UI.Windows.Forms.DevEx.EnhancedRowPopulatingEventArgs) Handles grdMain.RowPopulating
With CType(e.BusinessObject, Business.AssembliesBO)
If .DocuntationToDate = False Then
e.RowAppearance.BackColor = Drawing.Color.Yellow
End If
End With
End Sub
|