Skip to main content

DiagramToolboxGroup.CustomCategoryName Property

Specifies the name of a custom shape category.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("custom")]
public string CustomCategoryName { get; set; }

Property Value

Type Default Description
String "custom"

The category name.

Remarks

When the Category property is set to Custom, use the CustomCategoryName property to specify the custom category’s name.

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

Run Demo: Custom Shapes

See Also