Back to Devexpress

DiagramShapeCategory Enum

aspnet-devexpress-dot-web-dot-aspxdiagram-b258178c.md

latest2.2 KB
Original Source

DiagramShapeCategory Enum

Lists shape categories.

Namespace : DevExpress.Web.ASPxDiagram

Assembly : DevExpress.Web.ASPxDiagram.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public enum DiagramShapeCategory
vb
Public Enum DiagramShapeCategory

Members

NameDescription
General

The category that contains general-purpose shapes.

| | FlowChart |

The category that contains shapes to built flow charts.

| | OrgChart |

The category that contains shapes to built organizational charts.

| | Containers |

The category that contains shape containers.

| | Custom |

A custom category. Use the CustomCategoryName property to specify the category name.

|

The following properties accept/return DiagramShapeCategory values:

Remarks

Values listed by this enumeration are used to set the DiagramToolboxGroup.Category property.

aspx
<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <SettingsToolbox>
        <Groups>
            <dx:DiagramToolboxGroup Category="General" />
            <dx:DiagramToolboxGroup Category="Containers" />
            <dx:DiagramToolboxGroup Category="Custom" CustomCategoryName="hardware" Title="Hardware" />
        </Groups>
    </SettingsToolbox>
    <CustomShapes>
        <dx:DiagramCustomShape CategoryName="hardware" Type="internet" ... >
    ...    
</dx:ASPxDiagram>

See Also

DevExpress.Web.ASPxDiagram Namespace