internal void SetGridDefinition(GridDefinition gridDef)
 {
     _gridDefinition = gridDef;
 }