Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorksheet Interface / AutoFilter Property

In This Topic
    AutoFilter Property (IWorksheet)
    In This Topic
    Gets an IAutoFilter object if filtering is on.
    ReadOnly Property AutoFilter As IAutoFilter
    Dim instance As IWorksheet
    Dim value As IAutoFilter
    value = instance.AutoFilter
    IAutoFilter AutoFilter {get;}

    Property Value

    An IAutoFilter object represents the filter of this IWorksheet object.
    The property returns Nothing if filtering is off.

    To create an IAutoFilter object for a worksheet, you must turn auto-filtering on for a range on the worksheet either manually or using the IRange.AutoFilter method of the IRange object.

    See Also