Back to Devexpress

DiagramCustomShape.BaseType Property

aspnet-devexpress-dot-web-dot-aspxdiagram-dot-diagramcustomshape-315c0a1b.md

latest5.9 KB
Original Source

DiagramCustomShape.BaseType Property

Specifies the base shape type for the custom shape.

Namespace : DevExpress.Web.ASPxDiagram

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

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(DiagramShapeType.Unset)]
public DiagramShapeType BaseType { get; set; }
vb
<DefaultValue(DiagramShapeType.Unset)>
Public Property BaseType As DiagramShapeType

Property Value

TypeDefaultDescription
DiagramShapeTypeUnset

The type of the base shape.

|

Available values:

Show 44 items

NameDescription
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.

aspx
<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

DiagramCustomShape Class

DiagramCustomShape Members

DevExpress.Web.ASPxDiagram Namespace