public Container SetPad(float top, float left, float bottom, float right) { _padTop = new Value.Fixed(top); _padLeft = new Value.Fixed(left); _padBottom = new Value.Fixed(bottom); _padRight = new Value.Fixed(right); return(this); }
/// <summary> /// Sets the padTop, padLeft, padBottom, and padRight to the specified value /// </summary> /// <param name="pad">Pad.</param> public Container SetPad(float pad) { Value value = new Value.Fixed(pad); _padTop = value; _padLeft = value; _padBottom = value; _padRight = value; return(this); }
public Container SetPadRight(float padRight) { _padRight = new Value.Fixed(padRight); return(this); }
public Container SetPadBottom(float padBottom) { _padBottom = new Value.Fixed(padBottom); return(this); }
public Container SetMaxHeight(float maxHeight) { _maxHeightValue = new Value.Fixed(maxHeight); return(this); }
public Container SetPrefHeight(float prefHeight) { _prefHeightValue = new Value.Fixed(prefHeight); return(this); }