Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Data Model.When the object is serialized out as xml, its qualified name is dgm:dataModel.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.DataModel
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Background))> _
<ChildElementInfoAttribute(GetType(PointList))> _
<ChildElementInfoAttribute(GetType(ConnectionList))> _
<ChildElementInfoAttribute(GetType(Whole))> _
<ChildElementInfoAttribute(GetType(DataModelExtensionList))> _
Public Class DataModel _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As DataModel
[ChildElementInfoAttribute(typeof(Background))]
[ChildElementInfoAttribute(typeof(PointList))]
[ChildElementInfoAttribute(typeof(ConnectionList))]
[ChildElementInfoAttribute(typeof(Whole))]
[ChildElementInfoAttribute(typeof(DataModelExtensionList))]
public class DataModel : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
PointList <dgm:ptLst>
ConnectionList <dgm:cxnLst>
Background <dgm:bg>
Whole <dgm:whole>
DataModelExtensionList <dgm:extLst>
[ISO/IEC 29500-1 1st Edition]
21.4.2.10 dataModel (Data Model)
The data for this instance of the diagram. Either a sample data model, or the data the user has entered.
Parent Elements |
|---|
Root element of DrawingML Diagram Data part; clrData (§21.4.2.7); sampData (§21.4.2.26); styleData (§21.4.2.29) |
Child Elements |
Subclause |
|---|---|
bg (Background Formatting) |
§21.4.3.1 |
cxnLst (Connection List) |
§21.4.3.3 |
extLst (Extension List) |
§21.4.2.13 |
ptLst (Point List) |
§21.4.3.6 |
whole (Whole E2O Formatting) |
§21.4.3.9 |
[Note: The W3C XML Schema definition of this element’s content model (CT_DataModel) is located in §A.5.3. 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.