Share via


IconFilter Class

Icon Filter.When the object is serialized out as xml, its qualified name is x:iconFilter.

Inheritance Hierarchy

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

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

Syntax

'宣言
Public Class IconFilter _
    Inherits OpenXmlLeafElement
'使用
Dim instance As IconFilter
public class IconFilter : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

18.3.2.9 iconFilter (Icon Filter)

This element specifies the icon set and particular icon within that set to filter by. For any cells whose icon does not match the specified criteria, the corresponding rows shall be hidden from view when the filter is applied.

[Example:

<filterColumn colId="3">
<iconFilter iconSet="3Arrows" iconId="0"/>
</filterColumn>

end example]

Parent Elements

filterColumn (§18.3.2.7)

Attributes

Description

iconId (Icon Id)

Zero-based index of an icon in an icon set. The absence of this attribute means "no icon"

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

iconSet (Icon Set)

Specifies which icon set is used in the filter criteria.

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

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

Thread Safety

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

See Also

Reference

IconFilter Members

DocumentFormat.OpenXml.Spreadsheet Namespace