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

Editing Restrictions

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 MVC Diagram extension allows you to restrict specific edit operations. To prohibit an operation, set the corresponding Allow{Operation} property to false.

In this demo, the RequestEditOperation event handler implements custom logic to determine whether an operation is allowed. The reason event parameter indicates whether the event was raised by user actions or a UI update. If a user tries to execute a prohibited action, an error message is displayed on-screen.

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