DiagramToolboxSettings.Groups Property
In This Article
Lists toolbox groups.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public Collection<DiagramToolboxGroup> Groups { get; }
#Property Value
Type | Description |
---|---|
Collection<Diagram |
A collection of toolbox groups. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Groups |
---|---|
ASPx |
|
#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>
See Also