LayoutDefinition Members
Include Protected Members
Include Inherited Members
Layout Definition. It is the root element of DiagramLayoutDefinitionPart.When the object is serialized out as xml, its qualified name is dgm:layoutDef.
The LayoutDefinition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LayoutDefinition() | Initializes a new instance of the LayoutDefinition class. | |
LayoutDefinition(String) | Initializes a new instance of the LayoutDefinition class from outer XML. | |
LayoutDefinition(array<OpenXmlElement[]) | Initializes a new instance of the LayoutDefinition class with the specified child elements. | |
LayoutDefinition(IEnumerable<OpenXmlElement>) | Initializes a new instance of the LayoutDefinition class with the specified child elements. |
Top
Properties
Name | Description | |
---|---|---|
ChildElements | Gets all the child nodes of this element. (Inherited from OpenXmlElement.) | |
DefaultStyle | Default Style.Represents the attribte in schema: defStyle | |
DiagramLayoutDefinitionPart | Gets the DiagramLayoutDefinitionPart associated with this element. | |
ExtendedAttributes | Gets all extended attributes (attributes not defined in schema) of the element. (Inherited from OpenXmlElement.) | |
FirstChild | Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.) | |
HasAttributes | Gets a boolean value indicating whether the current element has any attributes. (Inherited from OpenXmlElement.) | |
HasChildren | Gets a value indicating whether this element has any child elements. (Inherited from OpenXmlCompositeElement.) | |
InnerText | Gets or sets the concatenated values of the node and all its children. (Inherited from OpenXmlCompositeElement.) | |
InnerXml | Gets or sets the markup representing only the child nodes of this node. (Inherited from OpenXmlCompositeElement.) | |
LastChild | Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.) | |
LocalName | Gets the local name of the element. (Overrides OpenXmlElement.LocalName.) | |
MCAttributes | Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Inherited from OpenXmlElement.) | |
MinVersion | Minimum Version.Represents the attribte in schema: minVer | |
NamespaceDeclarations | Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Inherited from OpenXmlElement.) | |
NamespaceUri | Gets the namespace URI of this node. (Inherited from OpenXmlElement.) | |
OpenXmlElementContext | Gets the OpenXmlEementContext. (Inherited from OpenXmlElement.) | |
OuterXml | Gets the markup representing this element and all its child elements. (Inherited from OpenXmlElement.) | |
Parent | Gets the parent of this element. (Inherited from OpenXmlElement.) | |
Prefix | Gets the namespace prefix of this node. (Inherited from OpenXmlElement.) | |
UniqueId | Unique Identifier.Represents the attribte in schema: uniqueId | |
XmlQualifiedName | Gets the qualified name of the node. (Inherited from OpenXmlElement.) |
Top
Methods
Name | Description | |
---|---|---|
AddAnnotation | Adds an object to the annotation list of this OpenXmlElement. (Inherited from OpenXmlElement.) | |
AddNamespaceDeclaration | Adds a namepace declaration to the current node. (Inherited from OpenXmlElement.) | |
Ancestors() | Enumerate all the ancestor nodes of this element. (Inherited from OpenXmlElement.) | |
Annotation(Type) | Get the first annotation object of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.) | |
Annotation<T>() | Get the first annotation object of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.) | |
Annotations(Type) | Gets a collection of annotations of the specified type for this OpenXmlElement. (Inherited from OpenXmlElement.) | |
Annotations<T>() | Gets a collection of annotations of the specified type for this OpenXmlElement. (Inherited from OpenXmlElement.) | |
Append(array<OpenXmlElement[]) | Adds the elements to the end of the list of child nodes, of this element. (Inherited from OpenXmlElement.) | |
Append(IEnumerable<OpenXmlElement>) | Adds the elements to the end of the list of child nodes, of this element. (Inherited from OpenXmlElement.) | |
AppendChild<T>(T) | Adds the specified element to the end of the list of child nodes, of this element. (Inherited from OpenXmlCompositeElement.) | |
AppendChild<T>(T) | Adds the specified element to the end of the list of child nodes, of this element. (Inherited from OpenXmlElement.) | |
ClearAllAttributes | Clear all the attributes ( known attributes + extended attributes ) (Inherited from OpenXmlElement.) | |
Clone | Creates a duplicate of this node. (Inherited from OpenXmlElement.) | |
CloneNode | Creates a duplicate of this node. (Overrides OpenXmlElement.CloneNode(Boolean).) | |
Descendants<T>() | Enumerate all the descendants elements (which type is T) of this element. Preorder traversering. (Inherited from OpenXmlElement.) | |
Elements<T>() | Enumerate for specific type of elements in child elements (Inherited from OpenXmlElement.) | |
ElementsAfter | Enumerate all the sibling elements after this element in same parent. (Inherited from OpenXmlElement.) | |
ElementsBefore | Enumerate all the sibling elements before this element in same parent. (Inherited from OpenXmlElement.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAttribute | Gets a Open XML attribute with the specifed tag name and namespace URI. (Inherited from OpenXmlElement.) | |
GetAttributes | Get a copy of all the attributes (Inherited from OpenXmlElement.) | |
GetEnumerator | Returns an enumerator that iterates through the child collection. (Inherited from OpenXmlElement.) | |
GetFirstChild<T> | Find the first child element in type T (Inherited from OpenXmlElement.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InsertAfter<T>(T, OpenXmlElement) | Inserts the specified element immediately after the specified reference element. (Inherited from OpenXmlCompositeElement.) | |
InsertAfter<T>(T, OpenXmlElement) | Inserts the specified element immediately after the specified reference element. (Inherited from OpenXmlElement.) | |
InsertAfterSelf<T> | Inserts the specified element immediately after this element. (Inherited from OpenXmlElement.) | |
InsertAt<T>(T, Int32) | Inserts the specified element at the specified index in children. (Inherited from OpenXmlCompositeElement.) | |
InsertAt<T>(T, Int32) | Inserts the specified element at the specified index in children. (Inherited from OpenXmlElement.) | |
InsertBefore<T>(T, OpenXmlElement) | Inserts the specified element immediately before the specified reference element. (Inherited from OpenXmlCompositeElement.) | |
InsertBefore<T>(T, OpenXmlElement) | Inserts the specified element immediately before the specified reference element. (Inherited from OpenXmlElement.) | |
InsertBeforeSelf<T> | Inserts the specified element immediately before this element. (Inherited from OpenXmlElement.) | |
IsAfter | Determines if the current element appears after a specified element in document order. (Inherited from OpenXmlElement.) | |
IsBefore | Determines if the current element appears before a specified element in document order. (Inherited from OpenXmlElement.) | |
Load | Loads the DOM from the DiagramLayoutDefinitionPart. | |
LookupNamespace | Resolve the namespace prefix in the context of current node (Inherited from OpenXmlElement.) | |
LookupPrefix | Finds the corresponding prefix for a namespace uri in the current element scope. (Inherited from OpenXmlElement.) | |
MemberwiseClone | (Inherited from Object.) | |
NextSibling() | Gets the OpenXmlElement immediately following this OpenXmlElement. If there is no next OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlElement.) | |
PrependChild<T>(T) | Adds the specified element to the beginning of the list of child nodes for this element. (Inherited from OpenXmlCompositeElement.) | |
PrependChild<T>(T) | Adds the specified element to the beginning of the list of child nodes for this element. (Inherited from OpenXmlElement.) | |
PreviousSibling() | Gets the OpenXmlElement immediately preceding this OpenXmlElement. If there is no such preceding OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlElement.) | |
Reload | Reloads the part content into Open XML DOM tree. It could be called multiple times and each time it is called, the tree will be reloaded; previous changes on the tree are abandoned. (Inherited from OpenXmlPartRootElement.) | |
Remove | Removes this element from its parent. (Inherited from OpenXmlElement.) | |
RemoveAllChildren | Remove all the child elements (Inherited from OpenXmlCompositeElement.) | |
RemoveAnnotations(Type) | Removes the annotations of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.) | |
RemoveAnnotations<T>() | Removes the annotations of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.) | |
RemoveAttribute | Remove the attribute from the element. (Inherited from OpenXmlElement.) | |
RemoveChild<T>(T) | Removes specified child element. (Inherited from OpenXmlCompositeElement.) | |
RemoveChild<T>(T) | Removes specified child element. (Inherited from OpenXmlElement.) | |
RemoveNamespaceDeclaration | Removes namespace declaration for a specific prefix. do nothing if the prefix is not existed. (Inherited from OpenXmlElement.) | |
ReplaceChild<T>(OpenXmlElement, T) | Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Inherited from OpenXmlCompositeElement.) | |
ReplaceChild<T>(OpenXmlElement, T) | Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Inherited from OpenXmlElement.) | |
Save() | Saves the data in the DOM tree back to the part. It could be called multiple times as well. Each time it is called, the stream will be flushed. (Inherited from OpenXmlPartRootElement.) | |
Save(Stream) | Save the DOM tree to stream. (Inherited from OpenXmlPartRootElement.) | |
Save(DiagramLayoutDefinitionPart) | Saves the DOM into the DiagramLayoutDefinitionPart. | |
SetAttribute | Set an attribute to the element. If the attribute is a known attribute, the value of the attribute is set. If the attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Inherited from OpenXmlElement.) | |
SetAttributes | Set a bunch of attributes to the element. If a attribute is a known attribute, the value of the attribute is set. If a attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Inherited from OpenXmlElement.) | |
ToString | (Inherited from Object.) | |
WriteTo | Saves the current node to the specified XmlWriter. (Inherited from OpenXmlPartRootElement.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | (Inherited from OpenXmlElement.) |
Top