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