Spread Windows Forms 12.0 Product Documentation
AutoFilter Property (IWorksheet)

GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorksheet Interface : AutoFilter Property
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


IWorksheet Interface
IWorksheet Members