TableGrid Class
Table Grid.When the object is serialized out as xml, its qualified name is a:tblGrid.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.TableGrid
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(GridColumn))> _
Public Class TableGrid _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As TableGrid
[ChildElementInfoAttribute(typeof(GridColumn))]
public class TableGrid : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- GridColumn <a:gridCol>
[ISO/IEC 29500-1 1st Edition]
21.1.3.14 tblGrid (Table Grid)
This element defines a list of table column (§21.1.3.2) elements. There should be a table column (§21.1.3.2) element for every column held within the table.
[Example: Consider the following example of a tblGrid within DrawingML:
<a:tblGrid> <a:gridCol w="1117600"/> <a:gridCol w="1117600"/> <a:gridCol w="1117600"/> </a:tblGrid>
In this example, we have a tblGrid defined that holds three columns, therefore the table has three columns. end example]
Parent Elements |
---|
tbl (§21.1.3.13) |
Child Elements |
Subclause |
---|---|
gridCol (Table Grid Column) |
§21.1.3.2 |
[Note: The W3C XML Schema definition of this element’s content model (CT_TableGrid) is located in §A.4.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.