Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Column Class / AutoFilterIndex Property

In This Topic
    AutoFilterIndex Property (Column)
    In This Topic
    Gets or sets the automatic filter index for the column.
    Public Property AutoFilterIndex As Integer
    Dim instance As Column
    Dim value As Integer
    instance.AutoFilterIndex = value
    value = instance.AutoFilterIndex
    public int AutoFilterIndex {get; set;}
    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