[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Collapse]Diagrams
    Getting Started
   [Expand]Diagram Designer
    Diagram Control
   [Expand]End-User Interaction
   [Collapse]Diagram Items
     Shapes
     Default Shapes
     Connectors
     Images
     SVG Shapes
     Creating Shapes and Containers Using Shape Templates
     Containers
     Managing Items Interaction
   [Expand]Automatic Layout
   [Expand]Data Binding Functionality
    Themes and Styles
    Printing and Exporting
    Saving and Loading Diagrams
   [Expand]Examples
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Managing Items Interaction

The Diagram control provides a set of properties that allow you to restrict end-users from performing certain operations with diagram items.

You can modify the properties of existing diagram items by accessing them using the DiagramControl.Items collection. Alternatively, use the DiagramControl.ItemCreating event to modify the properties of an item that is about to be created.

Expanded Shapes

Expanded Connectors

Operation Property

Dragging the begin and end points

DiagramConnector.CanDragBeginPoint

DiagramConnector.CanDragEndPoint

Dragging intermediate points

DiagramConnector.CanChangeRoute

Expanded Containers

Operation Property

Editing the header text

DiagramItem.CanEdit

Hiding subordinate items

DiagramItem.CanHideSubordinates

Moving

DiagramItem.CanMove

Placing in/out of another container

DiagramItem.CanChangeParent

Resizing

DiagramItem.CanResize

Rotating

DiagramItem.CanRotate

Selecting

DiagramItem.CanSelect

Snapping

DiagramItem.CanSnapToOtherItems

Expanded See Also

Is this topic helpful?​​​​​​​