Home Forums WinForms controls Xceed Grid for WinForms Disable selection colors? Reply To: Disable selection colors?

User (Old forums)
Member
Post count: 23064

But if the user has selected more than one row, and I want each of the rows to show their own background color (ie, the same as not painting a SelectedBackColor at all, but leaving the default paint behaviour), will catching said event help at all? Or did you mean something other than setting SelectionBackColor to some value when the SelectedRowsChanged event gets fired?

I’m basicly coloring rows from Green to Red based on their relevance when the user has searched the database for a certain value. Green in this case means 100% relevance and Red means 0% relevance, and of course anything in between being between 0 and 100%.

This is why I would like to disable the SelectedBackColor from being painted (or something which gives the same effect) and only have the little focus rectangle showing in the row to tell the user what row is selected.

Imported from legacy forums. Posted by macke (had 438 views)