/// <summary>
        /// Initializes a new instance of the <see cref="ColumnDefinitionCollection"/> class.
        /// </summary>
        /// <param name="grid">The <see cref="Grid"/> that owns the collection.</param>
        internal ColumnDefinitionCollection(Grid grid)
        {
            Contract.Require(grid, "grid");

            this.grid           = grid;
            this.implicitColumn = new ColumnDefinition() { Grid = grid, Width = new GridLength(1.0, GridUnitType.Star) };
            this.implicitStorage.Add(implicitColumn);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="RowDefinitionCollection"/> class.
        /// </summary>
        /// <param name="grid">The <see cref="Grid"/> that owns the collection.</param>
        internal RowDefinitionCollection(Grid grid)
        {
            Contract.Require(grid, nameof(grid));

            this.grid        = grid;
            this.implicitRow = new RowDefinition() { Grid = grid, Height = new GridLength(1, GridUnitType.Star) };
            this.implicitStorage.Add(implicitRow);
        }