SlicerStyles class

Office 2013 and later

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.

Namespace:  DocumentFormat.OpenXml.Office2010.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

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).

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