Show / Hide Table of Contents

Method wpfBuilder.Wrap(+ 1 overload)


Overload

Sets TextWrapping property of the last added element. Supports System.Windows.Controls.TextBlock, System.Windows.Controls.TextBox and System.Windows.Controls.AccessText.

public wpfBuilder Wrap(TextWrapping wrapping)
Parameters
wrapping  (TextWrapping)

Enum: value__, WrapWithOverflow, NoWrap, Wrap, .ctor.

Returns
wpfBuilder

Overload(top)

Sets TextWrapping property of the last added element = System.Windows.TextWrapping.Wrap if true (default), else or System.Windows.TextWrapping.NoWrap. Supports System.Windows.Controls.TextBlock, System.Windows.Controls.TextBox and System.Windows.Controls.AccessText.

public wpfBuilder Wrap(bool wrap = true)
Parameters
wrap  (bool)
Returns
wpfBuilder