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 第 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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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