Skip to main content

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

[DefaultValue(DiagramShapeType.Unset)]
public DiagramShapeType BaseType { get; set; }

Property Value

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

Diagram Shape Type

Ellipse

Diagram Shape Type

Cross

Diagram Shape Type

Triangle

Diagram Shape Type

Diamond

Diagram Shape Type

Heart

Diagram Shape Type

Pentagon

Diagram Shape Type

Hexagon

Diagram Shape Type

Octagon

Diagram Shape Type

Star

Diagram Shape Type

ArrowLeft

Diagram Shape Type

ArrowTop

Diagram Shape Type

ArrowRight

Diagram Shape Type

ArrowBottom

Diagram Shape Type

ArrowNorthSouth

Diagram Shape Type

ArrowEastWest

Diagram Shape Type

Process

Diagram Shape Type

Decision

Diagram Shape Type

Terminator

Diagram Shape Type

PredefinedProcess

Diagram Shape Type

Document

Diagram Shape Type

MultipleDocuments

Diagram Shape Type

ManualInput

Diagram Shape Type

Preparation

Diagram Shape Type

Data

Diagram Shape Type

Database

Diagram Shape Type

HardDisk

Diagram Shape Type

InternalStorage

Diagram Shape Type

PaperTape

Diagram Shape Type

ManualOperation

Diagram Shape Type

Delay

Diagram Shape Type

StoredData

Diagram Shape Type

Display

Diagram Shape Type

Merge

Diagram Shape Type

Connector

Diagram Shape Type

Or

Diagram Shape Type

SummingJunction

Diagram Shape Type

VerticalContainer

Diagram Shape Type

HorizontalContainer

Diagram Shape Type

CardWithImageOnLeft

Diagram Shape Type

CardWithImageOnTop

Diagram Shape Type

CardWithImageOnRight

Diagram Shape Type

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:

Custom Shape with Base Type

Run Demo: Shapes with Base Type

See Also