Click or drag to resize

LabelIHandlerWrap Property

Gets or sets the wrap mode for the text

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
WrapMode Wrap { get; set; }

Property Value

Type: WrapMode
The wrapping mode for the text.
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