Skip to main content

DiagramToolboxGroup.Category Property

Specifies the shape category displayed in the group.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(DiagramShapeCategory.Custom)]
public DiagramShapeCategory Category { get; set; }

Property Value

Type Default Description
DiagramShapeCategory Custom

The shape category.

Available values:

Name Description
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.

Remarks

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

Diagram Settings

See Also