SlicerStyle class

Office 2013 and later

Defines the SlicerStyle Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:slicerStyle.

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.6.44 CT_SlicerStyle

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

Referenced by: CT_SlicerStyles

CT_SlicerStyle specifies table style elements, as specified in [ISO/IEC-29500-1] section 18.8, of the slicer style, as specified in section 2.3.2.4, that are specific to slicers, as specified in section 2.3.2.

Child Elements:

slicerStyleElements: A CT_SlicerStyleElements, as specified in section 2.6.52, that specifies table style elements of the slicer style that are specific to slicers. There MUST NOT be more than one CT_SlicerStyleElements in this element.

Attributes:

name: A string attribute, as specified in [XMLSCHEMA2] section 3.2.1, that specifies the name of the user-defined table style that this slicer style is based upon. The length of the string MUST be greater than or equal to 1 character and less than or equal to 255 characters. This string MUST be unique within the CT SlicerStyle elements in the Styles part, as specified in [ISO/IEC-29500-1] section 12.3.20. This string MUST match the name attribute of a CT_TableStyle element, as specified in [ISO/IEC-29500-4] section A.2, in the Styles part. In the CT_TableStyle element with a name attribute that matches this string, the pivot attribute MUST equal "false" and the table attribute MUST equal "false".

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_SlicerStyle">

<xsd:sequence>

<xsd:element name="slicerStyleElements" type="CT_SlicerStyleElements" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="name" 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: