Freigeben über


CustomFilter-Klasse

Custom Filter Criteria.When the object is serialized out as xml, its qualified name is x:customFilter.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.CustomFilter

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

Syntax

'Declaration
Public Class CustomFilter _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As CustomFilter
public class CustomFilter : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

18.3.2.2 customFilter (Custom Filter Criteria)

A custom AutoFilter specifies an operator and a value. There can be at most two customFilters specified, and in that case the parent element specifies whether the two conditions are joined by 'and' or 'or'. For any cells whose values do not meet the specified criteria, the corresponding rows shall be hidden from view when the fitler is applied.

[Example:

<customFilters and="1">
<customFilter operator="greaterThanOrEqual" val="0.2"/>
<customFilter operator="lessThanOrEqual" val="0.5"/>
</customFilters>

end example]

Parent Elements

customFilters (§18.3.2.3)

Attributes

Description

operator (Filter Comparison Operator)

Operator used by the filter comparison.

The possible values for this attribute are defined by the ST_FilterOperator simple type (§18.18.31).

val (Top or Bottom Value)

Top or bottom value used in the filter criteria.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

CustomFilter-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace