Spread WinRT Documentation
GrapeCity.Xaml.SpreadSheet.Data Namespace / Cell Class / WordWrap Property
Example


In This Topic
    WordWrap Property (Cell)
    In This Topic
    Gets or sets whether to support word wrap.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(False)>
    Public Property WordWrap As Boolean
    'Usage
     
    Dim instance As Cell
    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 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