[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.SetColumnAllowAutoSort

SetColumnAllowAutoSort Method

SetColumnAllowAutoSort(int, bool)

Sets whether the specified column on this sheet allows automatic sorting.

Declaration
public void SetColumnAllowAutoSort(int column, bool allowAutoSort)
Public Sub SetColumnAllowAutoSort(column As Integer, allowAutoSort As Boolean)
Parameters
Type Name Description
int column

Column index

bool allowAutoSort

Whether to allow automatic sorting for the specified column

SetColumnAllowAutoSort(int, int, bool)

Sets whether the specified columns on this sheet allow automatic sorting.

Declaration
public void SetColumnAllowAutoSort(int column, int count, bool allowAutoSort)
Public Sub SetColumnAllowAutoSort(column As Integer, count As Integer, allowAutoSort As Boolean)
Parameters
Type Name Description
int column

Column index of first column to set

int count

Number of columns to set

bool allowAutoSort

Whether to allow automatic sorting for the specified columns

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified column index is out of range; must be between -1 and the total number of columns