GrapeCity.Xaml.SpreadSheet.Data
WordWrap Property (Cell)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Cell Class : WordWrap Property
Gets or sets whether to support word wrap.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property WordWrap As Boolean
'Usage
 
Dim instance As Cell
Dim value As Boolean
 
instance.WordWrap = value
 
value = instance.WordWrap
[DefaultValue()]
public bool WordWrap {get; set;}

Property Value

true if the content supports word wrap; otherwise, false. The default value is false.
Example
This example uses the WordWrap property.
gcSpreadSheet1.Sheets[0].Cells[0, 0].WordWrap = true;
gcSpreadSheet1.Sheets[0].Rows[2].WordWrap = true;
gcSpreadSheet1.Sheets[0].Columns[2].WordWrap = true;
gcSpreadSheet1.Sheets(0).Cells(0, 0).WordWrap = True
gcSpreadSheet1.Sheets(0).Rows(2).WordWrap = True
gcSpreadSheet1.Sheets(0).Columns(2).WordWrap = True
See Also

Reference

Cell Class
Cell Members