Freigeben über


MaxNumberOfChildren-Klasse

Maximum Children.When the object is serialized out as xml, its qualified name is dgm:chMax.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Diagrams.MaxNumberOfChildren

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

Syntax

'Declaration
Public Class MaxNumberOfChildren _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As MaxNumberOfChildren
public class MaxNumberOfChildren : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

21.4.6.4 chMax (Maximum Children)

This element is used to indicate when to enable and disable the user interface components associated with adding a new shape to a diagram. This element defines a max number of nodes a diagram can support through the user interface directly.

[Example: Consider the following example of chMax usage in DiagramML:

<varLst>                         
<chMax val="5"/>             
<dir val="norm"/>            
<resizeHandles val="exact" />
</varLst>                        

In this example we define the user interface to only be enabled to insert five nodes. end example]

Parent Elements

presLayoutVars (§21.4.5.4); varLst (§21.4.2.31)

Attributes

Description

val (Maximum Children Value)

This attribute indicates the maximum number of children the node can have before the user interface should be disabled. A value of -1 indicates an infinite number of children. Default value is -1.

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

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

MaxNumberOfChildren-Member

DocumentFormat.OpenXml.Drawing.Diagrams-Namespace