Spread Windows Forms 10.0 Product Documentation
TextWrap Property (ElementWindowless)


Gets or sets whether to wrap the text in the element.
Syntax
'Declaration
 
Public Overridable Property TextWrap As Boolean
'Usage
 
Dim instance As ElementWindowless
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
Remarks

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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementWindowless Class
ElementWindowless Members
TextOrientation Property

 

 


Copyright © GrapeCity, inc. All rights reserved.