SlicerStyles class
Defines the SlicerStyles Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:slicerStyles.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Excel.SlicerStyles
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.4.23 slicerStyles
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A slicerStyles element is a CT_SlicerStyles type element, as specified in section 2.6.51, that specifies a group of slicer styles, as specified in section 2.3.2.4. See section 2.2.4.7 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="slicerStyles" type="CT_SlicerStyles"/>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.51 CT_SlicerStyles
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicerStyles
A complex type that specifies a group of slicer styles and the default slicer style to apply to slicers.
Child Elements:
slicerStyle: A CT_SlicerStyle element that specifies a slicer style.
Attributes:
defaultSlicerStyle: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the default slicer style to apply to slicers. The length of the string MUST be greater than or equal to 1 character and less than or equal to 255 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_SlicerStyles">
<xsd:sequence>
<xsd:element name="slicerStyle" type="CT_SlicerStyle" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="defaultSlicerStyle" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).