Spread WPF Documentation
WordWrap Property (Cell)
Example 


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

Property Value

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

Reference

Cell Class
Cell Members