All docs
V21.2
21.2
21.1
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.Type Property

Specifies a default shape type.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(DiagramShapeType.Unset)]
public DiagramShapeType Type { get; set; }

Property Value

Type Default Description
DiagramShapeType

Unset

The shape type.

Available values:

Show 44 items
Name Description
Unset

The shape type is not set.

Text

Text

Rectangle

Diagram Shape Type

Ellipse

Diagram Shape Type

Cross

Diagram Shape Type

Triangle

Diagram Shape Type

Diamond

Diagram Shape Type

Heart

Diagram Shape Type

Pentagon

Diagram Shape Type

Hexagon

Diagram Shape Type

Octagon

Diagram Shape Type

Star

Diagram Shape Type

ArrowLeft

Diagram Shape Type

ArrowTop

Diagram Shape Type

ArrowRight

Diagram Shape Type

ArrowBottom

Diagram Shape Type

ArrowNorthSouth

Diagram Shape Type

ArrowEastWest

Diagram Shape Type

Process

Diagram Shape Type

Decision

Diagram Shape Type

Terminator

Diagram Shape Type

PredefinedProcess

Diagram Shape Type

Document

Diagram Shape Type

MultipleDocuments

Diagram Shape Type

ManualInput

Diagram Shape Type

Preparation

Diagram Shape Type

Data

Diagram Shape Type

Database

Diagram Shape Type

HardDisk

Diagram Shape Type

InternalStorage

Diagram Shape Type

PaperTape

Diagram Shape Type

ManualOperation

Diagram Shape Type

Delay

Diagram Shape Type

StoredData

Diagram Shape Type

Display

Diagram Shape Type

Merge

Diagram Shape Type

Connector

Diagram Shape Type

Or

Diagram Shape Type

SummingJunction

Diagram Shape Type

VerticalContainer

Diagram Shape Type

HorizontalContainer

Diagram Shape Type

CardWithImageOnLeft

Diagram Shape Type

CardWithImageOnTop

Diagram Shape Type

CardWithImageOnRight

Diagram Shape Type

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

See Also