DiagramCustomShape.BaseType Property
Specifies the base shape type for the custom shape.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
DiagramShapeType | 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 | |
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 |
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:
See Also