CustomFilters Class

Custom Filters.When the object is serialized out as xml, its qualified name is x:customFilters.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class CustomFilters : OpenXmlCompositeElement

The following table lists the possible child types:

  • CustomFilter <x:customFilter>

[ISO/IEC 29500-1 1st Edition] customFilters (Custom Filters)

When there is more than one custom filter criteria to apply (an 'and' or 'or' joining two criteria), then this element groups the customFilter elements together.

Parent Elements

filterColumn (§

Child Elements


customFilter (Custom Filter Criteria)




and (And)

Flag indicating whether the two criterias have an "and" relationship. '1' indicates "and", '0' indicates "or".

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_CustomFilters) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions