SlicerStyleElement Class

Defines the SlicerStyleElement Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:slicerStyleElement.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Excel.SlicerStyleElement

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class SlicerStyleElement _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As SlicerStyleElement
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class SlicerStyleElement : OpenXmlLeafElement

Remarks

2.6.45 CT_SlicerStyleElement

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main

Referenced by: CT_SlicerStyleElements

A complex type that specifies a table style ([ISO/IEC-29500-1] section 18.8) element of a slicer style.

Attributes:

type : An ST_SlicerStyleType attribute that specifies the type of the table style ([ISO/IEC-29500-1] section 18.8) element. This attribute MUST be unique within the parent CT_SlicerStyleElements complex type.

dxfId : An ST_DxfId ([ISO/IEC-29500-1] section 18.18.25) attribute that specifies a zero-based index into the list of elements specified by the dxfs<37> global element. The specified CT_Dxf ([ISO/IEC-29500-4] section A.2) complex type specifies the formatting to use with this table style ([ISO/IEC-29500-1] section 18.8) element.

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

<xsd:complexType name="CT_SlicerStyleElement">

<xsd:attribute name="type" type="ST_SlicerStyleType" use="required"/>

<xsd:attribute name="dxfId" type="x:ST_DxfId" use="optional"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Thread Safety

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

See Also

Reference

SlicerStyleElement Members

DocumentFormat.OpenXml.Office2010.Excel Namespace