BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
this.gridDataBoundGrid1.AlphaBlendSelectionColor = Color.FromArgb(0,0,0,0); this.gridDataBoundGrid1.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(gridDataBoundGrid1_PrepareViewStyleInfo); this.gridDataBoundGrid1.Model.SelectionChanged += new GridSelectionChangedEventHandler(Model_SelectionChanged); private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { if(this.gridDataBoundGrid1.Selections.Ranges.AnyRangeContains(GridRangeInfo.Cell(e.RowIndex, e.ColIndex))) { e.Style.BackColor = Color.Red; } } private void Model_SelectionChanged(object sender, GridSelectionChangedEventArgs e) { if(e.Range != null) { this.gridDataBoundGrid1.RefreshRange(this.gridDataBoundGrid1.CurrentCell.RangeInfo, true); } }