Nez.Portable/UI/Containers/Container.cs
/// <summary>
/// Sets the prefWidth and prefHeight to the specified value.
/// </summary>
/// <param name="size">Size.</param>
Sets the prefWidth and prefHeight to the specified value.
Sets the prefWidth and prefHeight to the specified value .
public Container prefSize(Value size)
        {
            if (size == null)
                throw new Exception("size cannot be null.");
            _prefWidthValue = size;
            _prefHeightValue = size;
            return this;
        }
public Container prefSize ( Value size ) { if ( size == null ) throw new Exception ( " " ) ; _prefWidthValue = size ; _prefHeightValue = size ; return this ; }
Sets the prefWidth and prefHeight to the specified value.
Sets the prefWidth and prefHeight to the specified value .
size
Value
None