Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetAxisModel Class / SetResizable Method
Row or column index
Whether the specified row or column can be resized
Example


In This Topic
    SetResizable Method (DefaultSheetAxisModel)
    In This Topic
    Sets whether users can resize the specified row or column.
    Syntax
    'Declaration
     
    Public Overrides Sub SetResizable( _
       ByVal index As Integer, _
       ByVal value As Boolean _
    ) 
    'Usage
     
    Dim instance As DefaultSheetAxisModel
    Dim index As Integer
    Dim value As Boolean
     
    instance.SetResizable(index, value)
    public override void SetResizable( 
       int index,
       bool value
    )

    Parameters

    index
    Row or column index
    value
    Whether the specified row or column can be resized
    Example
    This example specifies whether users can resize the column.
    FarPoint.Win.Spread.Model.DefaultSheetAxisModel dsam = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel();
    dsam = (FarPoint.Win.Spread.Model.DefaultSheetAxisModel)fpSpread1.ActiveSheet.Models.ColumnAxis;
    dsam.SetResizable(1, false);
    Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel()
    dsam = fpSpread1.ActiveSheet.Models.ColumnAxis
    dsam.SetResizable(1, False)
    See Also