All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
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.

DiagramContextToolboxSettings.Category Property

Specifies the shape category displayed in the context toolbox.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(null)]
public DiagramShapeCategory? Category { get; set; }
<DefaultValue(Nothing)>
Public Property Category As DiagramShapeCategory?

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:

Library Object Type Path to Category
ASP.NET Controls and MVC Extensions ASPxDiagram
ASP.NET MVC Extensions DiagramSettings
MVCxDiagram

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