Show / Hide Table of Contents

Method wpfBuilder.Multiline


Overload

Makes the last added System.Windows.Controls.TextBox multiline.

public wpfBuilder Multiline(WBLength? height = null, TextWrapping wrap = TextWrapping.WrapWithOverflow)
Parameters
height  (WBLength?)

If not null, sets height or/and min/max height.

wrap  (TextWrapping)

Sets System.Windows.Controls.TextBox.TextWrapping.

Returns
wpfBuilder
Exceptions
NotSupportedException

The last added element is not TextBox.