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

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