Поделиться через


Category Class

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

Inheritance Hierarchy

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

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

Syntax

'Декларация
Public Class Category _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As Category
public class Category : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 редакция 1]

21.4.2.4 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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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

Category Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace