BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
public bool OnlyCurrentCellSelected() { GridRangeInfoList rangeList = grid.Selections.Ranges; bool b = grid.CurrentCell.HasCurrentCell && (rangeList.Count == 0 || (rangeList.Count == 1 && grid.ExcelLikeCurrentCell && rangeList.ActiveRange == grid.CurrentCell.RangeInfo )); return b; }