Transparent row selection preserves the initial cell background color when the row is selected. For transparency simply set an alpha factor for selection color.
C# | Copy |
---|---|
public void ExampleSelection(Grid grid) { //Set a new color for the selected rows which will be blended with the backgroung color of those rows //The grid also supports the alpha-channel. 255 - opaque, 0 - transparent grid.Selection.Color = Color.FromArgb(80, 102, 36, 10); } |
Back to .Net Grid HowTo topics