DiagramCustomShape.BaseType Property
Specifies the base shape type for the custom shape.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(DiagramShapeType.Unset)]
public DiagramShapeType BaseType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Diagram |
Unset | The type of the base shape. |
Available values:
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
Specify the BaseType property to create a custom shape based on a built-in shape type. You can use members of the DiagramCustomShape class to customize the shape’s settings.
<dx:DiagramCustomShape Type="Custom Rectangle" BaseType="Rectangle"
DefaultWidth="2" DefaultHeight="0.7" DefaultText ="Person's Name" />
The image below shows the result: