Slicer class
Defines the Slicer Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is sle:slicer.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Drawing.Slicer.Slicer
Namespace: DocumentFormat.OpenXml.Office2010.Drawing.Slicer
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.4.37 slicer
Target namespace: http://schemas.microsoft.com/office/drawing/2010/slicer
A slicer element is a CT_Slicer type element, as specified in section 2.6.69, that specifies which slicer view, as specified in section 2.3.2.2, is associated with this drawing element. See section 2.2.4.2 for how this element integrates with the Office Open XML file formats specified in [ISO/IEC-29500-1].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="slicer" type="CT_Slicer"/>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.69 CT_Slicer
Target namespace: http://schemas.microsoft.com/office/drawing/2010/slicer
Referenced by: slicer
This complex type specifies which slicer view is associated with this drawing element.
Child Elements:
extLst: A CT_OfficeArtExtensionList ([ISO/IEC-29500-4] section A.4.1) element that specifies future extensibility for this element.
Attributes:
name: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the slicer view that is associated with this drawing element. The value of this attribute MUST match the value of the name attribute of a slicer element within the CT_Slicers element for the current worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).