Share via


StyleDisplayCategory 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.StyleDisplayCategory

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

21.4.5.1 cat (Category)

The category in the user interface where this quick style displays in the user interface.

[Example: Consider the following example of a cat in use in DiagramML:

<catLst>
<cat type="3D" pri="11100"/>
</catLst>

In this example we see a 3D category type being defined with a priority of 11100. end example]

Parent Elements

catLst (§21.4.5.2)

Attributes

Description

pri (Priority)

The priority within the category for this style 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)

Category type.  This is used to organize the quick style in the user interface.

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_SDCategory) 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

StyleDisplayCategory Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace