BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void Form1_Load(object sender, System.EventArgs e) { this.gridControl1.ListBoxSelectionMode = SelectionMode.One; this.gridControl1.Model.Options.RefreshCurrentCellBehavior = GridRefreshCurrentCellBehavior.RefreshRow; } private void gridControl1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { if(e.ColIndex > 0 && e.RowIndex == this.gridControl1.CurrentCell.RowIndex) { e.Style.BackColor = SystemColors.Highlight; e.Style.TextColor = Color.White; } }
private void gridControl1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; this.gridControl1.RefreshRange(GridRangeInfo.Row(cc.MoveToRowIndex)); this.gridControl1.RefreshRange(GridRangeInfo.Row(cc.MoveFromRowIndex)); }
this.gridControl1.AlphaBlendSelectionColor = Color.FromArgb(1, SystemColors.Highlight);
to see if that affects anything for you.