Preferred Number of Children. When the object is serialized out as xml, its qualified name is dgm:chPref.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
chPref (Preferred Number of Children)
This variable indicates the number of children that the current node prefers to have. This determines what the next action of the ‘Add Shape’ button should be in the user interface.
[Example: Consider the following example of chPref being used in DiagramML:
<varLst> <chMax val="3" /> <chPref val="1" /> <dir val="norm" /> <animLvl val="lvl" /> <resizeHandles val="rel" /> </varLst>
In this example, chPref is set to a single node and the user interface disables after a single node has been inserted. end example]
presLayoutVars (§188.8.131.52); varLst (§184.108.40.206)
val (Preferred Number of CHildren Value)
This attribute indicates the number of children that the current node prefers to have. This determines what the next action of the ‘Add Shape’ button should be. 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 (§220.127.116.11).
[Note: The W3C XML Schema definition of this element’s content model (CT_ChildPref) is located in §A.5.3. end note]
© ISO/IEC29500: 2008.