DiagramToolboxGroup.Category Property
In This Article
Specifies the shape category displayed in the group.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(DiagramShapeCategory.Custom)]
public DiagramShapeCategory Category { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Diagram |
Custom | The shape category. |
Available values:
Name | Description |
---|---|
General | The category that contains general-purpose shapes. |
Flow |
The category that contains shapes to built flow charts. |
Org |
The category that contains shapes to built organizational charts. |
Containers | The category that contains shape containers. |
Custom | A custom category. Use the Custom |
#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>
See Also