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 初版]

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