Hello!
I know that it is possible to select the entire row when any of its cells are clicked.
Is at also possible to highlight the complete row when any of the cells in that row is "mouse-overed"?
/Henrik
Anyway, I looked into the StyleSheet applied and I understand the logic of how rows and cells are hot tracked. The behavior thatI had was very much specific for that .isl file. It is easy to remove the hottracking of a cell and replace it with something for the row if that is of interest.
So you lead me into the right path... Thanks!
Thanks for the answer but that didn't do the trick. Even if I set the HotTrackRowAppearance, the ordinary colors from the appstyling is of course set.
The HotTrackRowCell was better, since it changed color of more elements but the hot tracked cell still get the standard hot track appearance.
Anyone else that has any ideas...?
Henrik,
You have to set the HotTrackRowAppearance.BackColor property which you will find in the Override under DisplayLayout. Try something like this in the InitializeLayout event of the grid:
e.Layout.Override.HotTrackRowAppearance.BackColor = Color.FromArgb(192, 192, 255);
Let me know if that works for you.