Spread WPF 15
GrapeCity.Windows.SpreadSheet.Data Namespace / Row Class / CanUserResize Property
Example


In This Topic
    CanUserResize Property (Row)
    In This Topic
    Gets or sets whether this row can be resized.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(True)>
    Public Property CanUserResize As Boolean
    'Usage
     
    Dim instance As Row
    Dim value As Boolean
     
    instance.CanUserResize = value
     
    value = instance.CanUserResize
    [DefaultValue(true)]
    public bool CanUserResize {get; set;}

    Property Value

    true if the row can be resized; otherwise, false. The default value is true.
    Example
    This example uses the CanUserResize property.
    gcSpreadSheet1.Sheets[0].Columns[0].CanUserResize = false;
    gcSpreadSheet1.Sheets[0].Rows[0].CanUserResize = false;
    gcSpreadSheet1.Sheets[0].SetColumnResizable(3, false);
    gcSpreadSheet1.Sheets[0].SetRowResizable(3, false);
    GcSpreadSheet1.Sheets(0).Columns(0).CanUserResize = False
    GcSpreadSheet1.Sheets(0).Rows(0).CanUserResize = False
    GcSpreadSheet1.Sheets(0).SetColumnResizable(3, False)
    GcSpreadSheet1.Sheets(0).SetRowResizable(3, False)
    See Also