Freigeben über


Category-Klasse

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

Vererbungshierarchie

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

'Declaration
Public Class Category _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Category
public class Category : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Category-Member

DocumentFormat.OpenXml.Drawing.Diagrams-Namespace