Class ExcelAutoFilter
- Namespace
- OfficeOpenXml.Filter
- Assembly
- EPPlus.dll
Represents an Autofilter for a worksheet or a filter of a table
public class ExcelAutoFilter : XmlHelper
- Inheritance
-
ExcelAutoFilter
- Inherited Members
Properties
Address
The range of the autofilter Autofilter with address "" or null indicates empty autofilter.
public ExcelAddressBase Address { get; }
Property Value
Columns
The columns to filter
public ExcelFilterColumnCollection Columns { get; }
Property Value
Methods
ApplyFilter(bool)
Applies the filter, hiding rows not matching the filter columns
public void ApplyFilter(bool calculateRange = false)
Parameters
calculateRange
boolIf true, any formula in the autofilter range will be calculated before the filter is applied.
ClearAll()
Clear all columns Unhide all affected cells, nullify address and table.
public void ClearAll()