Home › Forums › WinForms controls › Xceed Grid for WinForms › SelectionMode
We are using a grid with:
xg.SelectionMode = SelectionMode.MultiSimplexg.SelectionForeColor = Color.Blackxg.SelectionBackColor = Color.LightGray
The problem we have is: we have background images in one of the columns, when the user select a row the image disappears.
Thanks in advance.
Imported from legacy forums. Posted by email@example.com (had 1269 views)
It is the designed behavior for the selected row to change its background color to the assigned SelectionBackColor (so as the Foreground color with the SelectionForeColor).
To continue to display the images on selection, you could try using a transparent color.
xg.SelectionForeColor = Color.Transparent
xg.SelectionBackColor = Color.Transparent
Imported from legacy forums. Posted by Mohamed [Xceed] (had 1041 views)