/// <summary> /// Remove the link of the cell from the grid. /// For internal use only. /// </summary> public virtual void UnBindToGrid() { mGrid = null; mColumn = null; mRow = null; }
/// <summary> /// Link the cell at the specified grid. /// For internal use only. /// </summary> /// <param name="p_grid"></param> /// <param name="p_Position"></param> public virtual void BindToGrid(Grid p_grid, Position p_Position) { mGrid = p_grid; mRow = Grid.Rows[p_Position.Row]; mColumn = Grid.Columns[p_Position.Column]; }