Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
UltraWinGrid HotTrackRowAppearance is overridden by Row.Appearance
posted

I’m working with an UltraWinGrid and have set DisplayLayout.Override.HotTrackRowAppearance.BackColor.  I’m also trying to set certain rows’ BackColors to a different color to differentiate them as special data, but I still want the HotTracking - i.e. I want the HotTrackRowAppearance.BackColor to override the Row.Appearance.BackColor when the mouse hovers over those rows.  Currently I’m using grid_InitializeRow() to check for the category of data and set the row color accordingly, but when I do that the HotTrack color doesn’t show up.  I tried re-setting the HotTrackRowAppearance in grid_InitializeRow(), but that doesn't seem to make a difference. I also tried the ActiveRowAppearance, but that only changed the selected rows, not the mouse-hover rows.

Any ideas?