All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramToolboxSettings.Groups Property

Lists toolbox groups.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public Collection<DiagramToolboxGroup> Groups { get; }
Public ReadOnly Property Groups As Collection(Of DiagramToolboxGroup)

Property Value

Type Description
Collection<DiagramToolboxGroup>

A collection of toolbox groups.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Groups
ASP.NET MVC Extensions DiagramSettings
.SettingsToolbox.Groups
MVCxDiagram
.SettingsToolbox.Groups
ASP.NET Web Forms Controls 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