Setting entire row highlighted in DataGrid.

  • Thread starter Thread starter P
  • Start date Start date
P

P

Is there a property to make the whole row in the DataGrid appear highlighted
instead of the default bahviour of just the clicked cell?
I have set the RowHeader property to false because I dont want to display
that. Can I make the entire row become highlighted when a single cell in
that row is selected?

<Regards>

P
 
I havent found this on Compact Framework.
But u can override the grid Click event, using this:

With me '(The Grid)
mybase.click
If .VisibleRowCount > 0 Then
.Select(.CurrentRowIndex)
endif
end with
 
Back
Top