Partager via


XmlCellProperties Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • XmlProperties <x:xmlPr>

  • ExtensionList <x:extLst>

[ISO/IEC 29500-1 1st Edition]

18.5.2.3 xmlCellPr (Cell Properties)

This element stores the XML properties for the cell of a single cell xml table.

Parent Elements

singleXmlCell (§18.5.2.1)

Child Elements

Subclause

extLst (Future Feature Data Storage Area)

§18.2.10

xmlPr (Column XML Properties)

§18.5.2.4

Attributes

Description

id (Table Field Id)

The unique identifier of the XML properties for the cell.

This should always be set to the value of 1 since this id is always meant to be for a single cell xml table.

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

uniqueName (Unique Table Name)

An optional string representing the unique name of the table column. By default this is the same as the name of the column.

This should hold the name of the element or attribute that this cell is referring to in the XML.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

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

© ISO/IEC29500: 2008.

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

XmlCellProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace