Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetColumnAllowAutoSort Method / SetColumnAllowAutoSort(Int32,Int32,Boolean) Method
Column index of first column to set
Number of columns to set
Whether to allow automatic sorting for the specified columns


In This Topic
    SetColumnAllowAutoSort(Int32,Int32,Boolean) Method
    In This Topic
    Sets whether the specified columns on this sheet allow automatic sorting.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetColumnAllowAutoSort( _
       ByVal column As Integer, _
       ByVal count As Integer, _
       ByVal allowAutoSort As Boolean _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim column As Integer
    Dim count As Integer
    Dim allowAutoSort As Boolean
     
    instance.SetColumnAllowAutoSort(column, count, allowAutoSort)
    public void SetColumnAllowAutoSort( 
       int column,
       int count,
       bool allowAutoSort
    )

    Parameters

    column
    Column index of first column to set
    count
    Number of columns to set
    allowAutoSort
    Whether to allow automatic sorting for the specified columns
    Exceptions
    ExceptionDescription
    Specified column index is out of range; must be between -1 and the total number of columns
    See Also