aspnet-devexpress-dot-web-dot-aspxdiagram-dot-diagramcustomshape-315c0a1b.md
Specifies the base shape type for the custom shape.
Namespace : DevExpress.Web.ASPxDiagram
Assembly : DevExpress.Web.ASPxDiagram.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(DiagramShapeType.Unset)]
public DiagramShapeType BaseType { get; set; }
<DefaultValue(DiagramShapeType.Unset)>
Public Property BaseType As DiagramShapeType
| Type | Default | Description |
|---|---|---|
| DiagramShapeType | Unset |
The type of the base shape.
|
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 |
| | ArrowLeft |
| | ArrowTop |
| | ArrowRight |
| | ArrowBottom |
| | ArrowNorthSouth |
| | ArrowEastWest |
| | Process |
| | Decision |
| | Terminator |
| | PredefinedProcess |
| | Document |
| | MultipleDocuments |
| | ManualInput |
| | Preparation |
| | Data |
| | Database |
| | HardDisk |
| | InternalStorage |
| | PaperTape |
| | ManualOperation |
| | Delay |
| | StoredData |
| | Display |
| | Merge |
| | Connector |
| | Or |
| | SummingJunction |
| | VerticalContainer |
| | HorizontalContainer |
| | CardWithImageOnLeft |
| | CardWithImageOnTop |
| | CardWithImageOnRight |
|
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:
Run Demo: Shapes with Base Type
See Also