共用方式為


CategoryList Class

Category List.When the object is serialized out as xml, its qualified name is dgm:catLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.CategoryList

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Category))> _
Public Class CategoryList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As CategoryList
[ChildElementInfoAttribute(typeof(Category))]
public class CategoryList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Category <dgm:cat>

[ISO/IEC 29500-1 1st Edition]

21.4.2.5 catLst (Category List)

This element is simply a list of cat elements.

[Example: Consider the following example of a catLst element in a DrawingML diagram:

<catLst>
<cat type="list" pri="18000" />                                   
<cat type="relationship" pri="19000" />
</catLst>

In this example we define two different categories which are to be displayed in the user interface. end example]

Parent Elements

layoutDef (§21.4.2.16); layoutDefHdr (§21.4.2.17)

Child Elements

Subclause

cat (Category)

§21.4.2.4

[Note: The W3C XML Schema definition of this element’s content model (CT_Categories) 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.

See Also

Reference

CategoryList Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace