Click or drag to resize

LabelWrap Property

Gets or sets the wrap mode for the text

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[DefaultValueAttribute(WrapMode.Word)]
public WrapMode Wrap { get; set; }

Property Value

Type: WrapMode
The wrapping mode for the text.
Remarks
This defines the soft wrapping for the label's text. Hard wraps can be placed in the text with newline characters. Wrapping will only occur if the label's width is smaller than the space needed for the text. If you are autosizing your control, it may get autosized to the width so you will have to add constraints to the container or explicitly set the size.
See Also