Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Column Class / WordWrap Property
Example


In This Topic
    WordWrap Property (Column)
    In This Topic
    Gets or sets whether to support word wrap.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(False)>
    Public Property WordWrap As Boolean
    'Usage
     
    Dim instance As Column
    Dim value As Boolean
     
    instance.WordWrap = value
     
    value = instance.WordWrap
    [DefaultValue(false)]
    public 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