Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Shapes with Base Type

v
po
po
x
Text
v
v
po
Object
Line style
v
Line width
+
-
popo
Connector
Type
v
Start
v
End
v
Layered




Tree




Page
Size
v
Orientation
v
po

The DevExpress ASP.NET Diagram (ASPxDiagram) control allows you to create custom shapes based on predefined shapes.

In this demo, the CustomShapes collection is populated with rectangle shapes (the BaseType property is set to Rectangle) that contain different texts (DefaultText). The Type property identifies custom shapes, therefore it must be specified and unique.

The SettingsToolbox property allows you to add the custom shape category to the toolbox. The DisplayMode property is set to Texts to display shape texts instead of icons in the toolbox.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxDiagramDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxDiagramDemos