Category class

Office 2013 and later

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

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

public class Category : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

cat (Category)

This element specifies a category in the user interface where this layout definition displays to the user.

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

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

In this example we define a single category called relationship which has a priority of 19000. end example]

Parent Elements

catLst (§21.4.2.5)

Attributes

Description

pri (Priority)

The priority within the category for this diagram determines the order in which it displays in the user interface. Lower numbers are displayed at the beginning of the list.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

type (Category Type)

Specifies the category type associated with the element.

The possible values for this attribute are defined by the W3C XML Schema anyURI datatype.

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: