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

Templates

v
po
po
Corporate HeadquartersShow DetailsSales and MarketingShow DetailsField Office: CanadaShow DetailsField Office: East CoastShow DetailsPacific Rim HeadquartersShow DetailsField Office: SingaporeShow DetailsField Office: JapanShow DetailsMarketingShow DetailsFinanceShow DetailsEngineeringShow DetailsConsumer Electronics Div.Show DetailsSoftware DevelopmentShow DetailsSoftware Products Div.Show DetailsQuality AssuranceShow DetailsCustomer SupportShow DetailsResearch and DevelopmentShow DetailsCustomer ServicesShow Details
Did this demo address your needs?
If you’d like us to extend this demo further, please describe your needs below.
Thank you in advance for your cooperation.
SEND FEEDBACK


The DevExpress ASP.NET MVC Diagram extension supports the template technology that allows you to completely customize a custom shape's appearance and layout.

Handle the CustomShapeCreateTemplate event to specify a template for custom shapes. The event argument's item property provides access to the currently processed item. Add the template content, which must be presented as SVG elements, to the container property.

In this demo, the CustomShapeCreateTemplate event handler adds the 'Show Details' link to a shape. When clicked, it displays a popup window that contains additional information about a department.

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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxDiagramDemos