Please can you tell me how to change the default row selection color. By default it appears as the "inverse" RGB color, I would like to simply "darken" the row with the following algorithm:
SelectionColor.R += 55;
SelectionColor.G += 55;
SelectionColor.B += 55;
Also, is there a way to retain the focus on the grid when a ContextMenu pops up so that the row still appears selected?
Thanks in advance,
ADAdministrator Syncfusion Team November 17, 2004 07:02 AM
To use alphablended selection coloring, you need to make sure the AlphaBlen flag is set in teh AllowSelections property.
this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any;
To not lose the selections on a right click, try setting this property.
this.gridGroupingControl1.TableControl.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;