protected bool HasSameRowOrColId(InnerRowOrCol rowOrCol)
 {
     return(rowOrCol._rowOrColId == _rowOrColId);
 }
 public bool IsInSameSubGrid(InnerRowOrCol rowOrCol)
 {
     return(rowOrCol._subGridId == _subGridId);
 }