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.

DiagramToolboxShape Class

Represents a shape in the context toolbox.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public class DiagramToolboxShape :
    CollectionItem
Public Class DiagramToolboxShape
    Inherits CollectionItem

The following members accept/return DiagramToolboxShape objects:

Remarks

Use the Type property to add a default shape or the CustomShapeType property to add a custom shape to the context toolbox.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
  <SettingsContextToolbox>
    <Shapes>
      <dx:DiagramToolboxShape CustomShapeType="pc" />
      <dx:DiagramToolboxShape CustomShapeType="laptop" />
      <dx:DiagramToolboxShape CustomShapeType="phone" />
      <dx:DiagramToolboxShape CustomShapeType="mobile" />
      <dx:DiagramToolboxShape Type="VerticalContainer" />
      <dx:DiagramToolboxShape Type="HorizontalContainer" />
    </Shapes>
  </SettingsContextToolbox>
  <CustomShapes>
    <dx:DiagramCustomShape CategoryName="hardware" Type="pc" Title="PC".../>
    ...
  </CustomShapes>
</dx:ASPxDiagram>

Diagram - Context Toolbox

Inheritance

See Also