Show / Hide Table of Contents

Method wpfBuilder.Width


Overload

Sets width of the last added element. Optionally sets alignment.

public wpfBuilder Width(WBLength width, string alignX = null)
Parameters
width  (WBLength)

Width or/and min/max width.

alignX  (string)

Horizontal alignment. If not null, calls wpfBuilder.Align.

Returns
wpfBuilder
Exceptions
ArgumentException

Invalid alignment string.