Spread Windows Forms 6.0 Product Documentation
TextWrap Property
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class : TextWrap Property


Glossary Item Box

Gets or sets whether to wrap the text in the element.

Syntax

Visual Basic (Declaration) 
Public Overridable Property TextWrap As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ElementWindowless
Dim value As Boolean
 
instance.TextWrap = value
 
value = instance.TextWrap
C# 
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.