private void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlPrepareViewStyleInfoEventArgs e)
{
GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell;
// Highlight the current row with SystemColors.Highlight and bold font
if (e.Inner.RowIndex > 3 && e.Inner.ColIndex > 0 && cc.HasCurrentCellAt(e.Inner.RowIndex))
{
e.Inner.Style.Interior = new BrushInfo(SystemColors.Highlight);
e.Inner.Style.TextColor = SystemColors.HighlightText;
e.Inner.Style.Font.Bold = true;
}
}
gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One
gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None
gridGroupingControl1.TableOptions.SelectionBackColor = Color.Pink
gridGroupingControl1.TableOptions.SelectionTextColor = Color.SteelBlue
gridGroupingControl1.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor