BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridControl1_SelectionChanging(object sender, GridSelectionChangingEventArgs e) { if(!e.Range.IsEmpty && e.Range.IntersectsWith(GridRangeInfo.Row(0))) { GridRangeInfo range = e.Range.IntersectRange(GridRangeInfo.Row(0)); range = this.gridControl1.CoveredRanges.FindRange(0, range.Left); if(!range.IsEmpty) e.Range = GridRangeInfo.Cols(range.Left, range.Right); } }
private void gridControl1_CurrentCellActivating(object sender, GridCurrentCellActivatingEventArgs e) { if(e.RowIndex == 0) e.Cancel = true; }