The DevExpress ASP.NET MVC Diagram extension provides a collection of built-in shapes. This demo shows how you can extend this collection with custom shapes.
A collection of custom shape objects is accessible through the CustomShapes property. For each custom shape object, you can specify the type, background image, default size, text, connection points, and other settings. Note that shape images should be supplied as SVG files.
The SettingsToolbox property allows you to add a custom shape category to a data toolbox.
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
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxDiagramDemos |