Table of Contents

Method Wrap

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Wrap(double?)

Wraps Text so that each of its lines becomes at most width dips wide if possible (the lines are broken at words boundaries so it might not be the case if words are too long).

public virtual void Wrap(double? value = null)

Parameters

value double?

Width in dips.

Remarks

If width is negative or null, no wrapping is done. Note that this width is not necessarily the total width of the control, since a padding for the border (depending on the controls border style) may be added.