Spread Windows Forms 12.0 Product Documentation
TextWrap Property (ElementStyle)

FarPoint.Win Assembly > FarPoint.Win Namespace > ElementStyle Class : TextWrap Property
Gets or sets whether to automatically wrap text without line breaks.
Public Overridable Property TextWrap As Boolean
Dim instance As ElementStyle
Dim value As Boolean
instance.TextWrap = value
value = instance.TextWrap
public virtual bool TextWrap {get; set;}

Property Value

Boolean value: true to wrap text automatically; false otherwise

When this property is true, lines of text automatically break to succeeding lines when they exceed the width of the element.

When this property is false, lines do not break unless they contain an end-of-line character (carriage return).

Specify the orientation of text by setting the TextOrientation property, as applicable.

See Also


ElementStyle Class
ElementStyle Members
TextOrientation Property