Gets or sets the wrap rule when the 
GcTextBox control is multiline.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property WrapMode As WrapMode  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As GcTextBoxCellType
Dim value As WrapMode
 
instance.WrapMode = value
 
value = instance.WrapMode  | 
 
            
            
            Property Value
A 
GcTextBox.WrapMode enumeration that indicates the rule for wrapping the text.
The default is 
WrapMode.WordWrap.
 
            
			
			
            Remarks
            
            
Example
This example uses the WrapMode property.
             
| C# |  Copy Code | 
|---|
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
textcell.WrapMode = GrapeCity.Win.Spread.InputMan.CellType.WrapMode.WordWrap;
textcell.Multiline = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;  | 
 
| VB.NET |  Copy Code | 
|---|
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
textcell.WrapMode = GrapeCity.Win.Spread.InputMan.CellType.WrapMode.WordWrap
textcell.Multiline = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = textcell  | 
 
 
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also