Spread Windows Forms 12.0 Product Documentation
AutoFilterIndex Property (Column)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : AutoFilterIndex Property
Gets or sets the automatic filter index for the column.
Syntax
'Declaration
 
Public Property AutoFilterIndex As Integer
'Usage
 
Dim instance As Column
Dim value As Integer
 
instance.AutoFilterIndex = value
 
value = instance.AutoFilterIndex
public int AutoFilterIndex {get; set;}
Example
This example sets the AutoFilterIndex property.
FarPoint.Win.Spread.ColumnHeader ch;
ch = fpSpread1.ActiveSheet.ColumnHeader;
ch.RowCount = 3;
fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true;
fpSpread1.ActiveSheet.Columns[1].AutoFilterIndex = 1;
Dim ch As FarPoint.Win.Spread.ColumnHeader
ch = FpSpread1.ActiveSheet.ColumnHeader
ch.RowCount = 3
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True
FpSpread1.ActiveSheet.Columns(1).AutoFilterIndex = 1
See Also

Reference

Column Class
Column Members