Skip to main content
All docs
V25.1
  • DiagramToolboxSettings.Groups Property

    Lists toolbox groups.

    Namespace: DevExpress.Web.ASPxDiagram

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

    NuGet Package: DevExpress.Web

    Declaration

    public Collection<DiagramToolboxGroup> Groups { get; }

    Property Value

    Type Description
    Collection<DiagramToolboxGroup>

    A collection of toolbox groups.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to Groups
    ASPxDiagram
    .SettingsToolbox .Groups

    Remarks

    Use the Groups property to specify shape groups that are visible in the toolbox.

    If the Groups collection is not specified, the General, Flowchart, and Containers default groups are visible.

    <dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
        <SettingsToolbox ShapeIconsPerRow="6" Width="250" ShowSearch="false">
            <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>
    

    Diagram toolbox

    Run Demo: Custom Shapes

    See Also