Export (0) Print
Expand All

IconFilter class

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

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

public class IconFilter : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

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.


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

end example]

Parent Elements

filterColumn (§



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.

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