Public Sub TblBase_OwnerDrawCell(ByVal sender As Object, ByVal e As C1.Win.C1FlexGrid.OwnerDrawCellEventArgs) If e.Col >= sender.Cols.Fixed e.Style.BackColor = Color.White End If End Sub
绑定drawcell事件
Dim brgd As C1.Win.C1FlexGrid.C1FlexGrid = e.Form.Controls("RecordGrid1").basecontrol AddHandler brgd.OwnerDrawCell, AddressOf TblBase_OwnerDrawCell brgd.refresh