DiagramToolboxShape.Type Property
In This Article
Specifies a default shape type.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(DiagramShapeType.Unset)]
public DiagramShapeType Type { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Diagram |
Unset | The shape type. |
Available values:
Show 44 items
Name | Description |
---|---|
Unset | The shape type is not set. |
Text | Text |
Rectangle | |
Ellipse | |
Cross | |
Triangle | |
Diamond | |
Heart | |
Pentagon | |
Hexagon | |
Octagon | |
Star | |
Arrow |
|
Arrow |
|
Arrow |
|
Arrow |
|
Arrow |
|
Arrow |
|
Process | |
Decision | |
Terminator | |
Predefined |
|
Document | |
Multiple |
|
Manual |
|
Preparation | |
Data | |
Database | |
Hard |
|
Internal |
|
Paper |
|
Manual |
|
Delay | |
Stored |
|
Display | |
Merge | |
Connector | |
Or | |
Summing |
|
Vertical |
|
Horizontal |
|
Card |
|
Card |
|
Card |
#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>
See Also