Partager via


DataTable Class

Data Table.When the object is serialized out as xml, its qualified name is c:dTable.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.DataTable

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ShowHorizontalBorder))> _
<ChildElementInfoAttribute(GetType(ShowVerticalBorder))> _
<ChildElementInfoAttribute(GetType(ShowOutlineBorder))> _
<ChildElementInfoAttribute(GetType(ShowKeys))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class DataTable _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As DataTable
[ChildElementInfoAttribute(typeof(ShowHorizontalBorder))]
[ChildElementInfoAttribute(typeof(ShowVerticalBorder))]
[ChildElementInfoAttribute(typeof(ShowOutlineBorder))]
[ChildElementInfoAttribute(typeof(ShowKeys))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class DataTable : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ShowHorizontalBorder <c:showHorzBorder>

  • ShowVerticalBorder <c:showVertBorder>

  • ShowOutlineBorder <c:showOutline>

  • ShowKeys <c:showKeys>

  • ChartShapeProperties <c:spPr>

  • TextProperties <c:txPr>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.54 dTable (Data Table)

This element specifies a data table.

Parent Elements

plotArea (§21.2.2.145)

Child Elements

Subclause

extLst (Chart Extensibility)

§21.2.2.64

showHorzBorder (Show Horizontal Border)

§21.2.2.181

showKeys (Show Legend Keys)

§21.2.2.182

showOutline (Show Outline Border)

§21.2.2.186

showVertBorder (Show Vertical Border)

§21.2.2.190

spPr (Shape Properties)

§21.2.2.197

txPr (Text Properties)

§21.2.2.216

[Note: The W3C XML Schema definition of this element’s content model (CT_DTable) is located in §A.5.1. 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

DataTable Members

DocumentFormat.OpenXml.Drawing.Charts Namespace