Skip to main content

DiagramContextToolboxSettings.Category Property

Specifies the shape category displayed in the context toolbox.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(null)]
public DiagramShapeCategory? Category { get; set; }

Property Value

Type Default Description
Nullable<DiagramShapeCategory> null

The shape category.

Available values:

Name Description
General

The category that contains general-purpose shapes.

FlowChart

The category that contains shapes to built flow charts.

OrgChart

The category that contains shapes to built organizational charts.

Containers

The category that contains shape containers.

Custom

A custom category. Use the CustomCategoryName property to specify the category name.

Property Paths

You can access this nested property as listed below:

Object Type Path to Category
ASPxDiagram

Remarks

When the Category property is set to null, the context toolbox displays the category of the shape from which you draw a connector.

Note

The Category property is not in effect if the Shapes or the CustomCategoryName property is specified.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
  <SettingsContextToolbox Category="Flowchart" Width="250" ShapeIconsPerRow="7" />
  ...
</dx:ASPxDiagram>

Diagram - Context Toolbox

See Also