Freigeben über


CellFormats-Klasse

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

Vererbungshierarchie

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

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • CellFormat <x:xf>

[ISO/IEC 29500-1 1. Ausgabe]

18.8.10 cellXfs (Cell Formats)

This element contains the master formatting records (xf) which define the formatting applied to cells in this workbook. These records are the starting point for determining the formatting for a cell. Cells in the Sheet Part reference the xf records by zero-based index.

A cell can have both direct formatting (e.g., bold) and a cell style (e.g., Explanatory) applied to it. Therefore, both the cell style xf records and cell xf records shall be read to understand the full set of formatting applied to a cell.

Parent Elements

styleSheet (§18.8.39)

Child Elements

Subclause

xf (Format)

§18.8.45

Attributes

Description

count (Format Count)

Count of xf elements.

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

CellFormats-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace