Freigeben über


ConditionalFormats-Klasse

Conditional Formats.When the object is serialized out as xml, its qualified name is x:conditionalFormats.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.ConditionalFormats

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ConditionalFormat))> _
Public Class ConditionalFormats _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ConditionalFormats
[ChildElementInfoAttribute(typeof(ConditionalFormat))]
public class ConditionalFormats : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • ConditionalFormat <x:conditionalFormat>

[ISO/IEC 29500-1 1. Ausgabe]

18.10.1.19 conditionalFormats (Conditional Formats)

Represents the collection of conditional formats applied to a PivotTable.

[Example:

<sh:conditionalFormats count="1">
<sh:conditionalFormat priority="1">
<sh:pivotAreas count="1">
<sh:pivotArea type="data" collapsedLevelsAreSubtotals="1">
<sh:references count="5">
<sh:reference field="4294967294" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
          <sh:reference field="2" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
          <sh:reference field="14" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
          <sh:reference field="15" count="2" selected="0">
<sh:x v="2"/>
<sh:x v="3"/>
</sh:reference>
</sh:references>
</sh:pivotArea>
</sh:pivotAreas>
</sh:conditionalFormat>
</sh:conditionalFormats>

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

conditionalFormat (Conditional Formatting)

§18.10.1.18

Attributes

Description

count (Conditional Format Count)

Specifies the number of conditional formats defined for the PivotTable.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element's content model (CT_ConditionalFormats) is located in §A.2. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ConditionalFormats-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace