Method wpfBuilder.Size
Overload
Sets width and height of the last added element. Optionally sets alignment.
public wpfBuilder Size(WBLength width, WBLength height, string alignX = null, string alignY = null)
Parameters
width (WBLength)
Width or/and min/max width. |
height (WBLength)
Height or/and min/max height. |
alignX (string)
Horizontal alignment. If not |
alignY (string)
Vertical alignment. |
Returns
Exceptions
ArgumentException
Invalid alignment string. |