Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
5758 | Jul 16,2003 11:18 PM UTC | Jul 17,2003 06:43 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
Private Sub GridDataBoundGrid1_PrepareViewStyleInfo(ByVal sender As Object, ByVal e As GridPrepareViewStyleInfoEventArgs) Handles GridDataBoundGrid1.PrepareViewStyleInfo If e.RowIndex > 0 And e.RowIndex Mod 2 = 1 And e.ColIndex > 0 Then e.Style.BackColor = Color.LightGreen ElseIf e.RowIndex > 0 And e.ColIndex > 0 Then e.Style.BackColor = Color.White End If End Sub
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.