Skip to main content

ApiAutoFilter

Represents the ApiAutoFilter class.

Properties

NameTypeDescription
FilterModebooleanReturns a value that indicates whether the worksheet has an AutoFilter applied.
FiltersApiFilter[]Returns the array of ApiFilter objects that represents the filters applied to the range.
ParentApiWorksheetReturns the ApiWorksheet object that contains the AutoFilter.
RangeApiRange | nullReturns the ApiRange object that represents the AutoFilter range; null if no AutoFilter is defined.

Methods

MethodReturnsDescription
ApplyFiltervoidReapplies the AutoFilter to the worksheet using the existing filter criteria.
GetFilterModebooleanReturns a value that indicates whether the worksheet has an AutoFilter applied.
GetFiltersApiFilter[]Returns the array of ApiFilter objects that represents the filters applied to the AutoFilter range.
GetParentApiWorksheetReturns the parent ApiWorksheet object for the AutoFilter.
GetRangeApiRange | nullReturns the ApiRange object that represents the AutoFilter range.
ShowAllDatavoidClears all filters and displays all rows in the AutoFilter range.