Skip to main content
A newer version of this page is available. .

DiagramToolboxShape.Type Property

Specifies a default shape type.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

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