Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
19568 | Sep 29,2004 10:42 AM UTC | Sep 30,2004 05:25 AM UTC | WinForms | 6 |
![]() |
Tags: GridControl |
Me.gridControl1.RefreshCurrentCellBehavior = GridRefreshCurrentCellBehavior.RefreshRow
Private Sub gridControl1_PrepareViewStyleInfo(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs) Handles gridControl1.PrepareViewStyleInfo If e.RowIndex = gridControl1.CurrentCell.RowIndex Then e.Style.BackColor = Color.AliceBlue End If End Sub
Dim cr As GridDropDownGridListControlCellRenderer = gridControl1.CellRenderers("GridListControl")
cr.ListControlPart.ShowColumnHeader = False
AddHandler cr.ListControlPart.Grid.PrepareViewStyleInfo, AddressOf gridControl1_PrepareViewStyleInfo
Private Sub gridControl1_PrepareViewStyleInfo(ByVal sender As Object, ByVal e As GridPrepareViewStyleInfoEventArgs) e.Style.BackColor = Color.Red 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.