[Expand]General Information
[Collapse]WinForms Controls
 [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
    Getting Started
   [Expand]Diagram Control
   [Expand]End-User Interaction
   [Expand]Diagram Items
   [Collapse]Automatic Layout
     Re-Layout Subordinates
   [Expand]Data Binding Functionality
    Themes and Styles
    Printing and Exporting
    Saving and Loading Diagrams
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst 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]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Re-Layout Subordinates

Starting with 17.1, the DiagramControl supports Automatic Layout. You and your end-users can apply a selected layout algorithm to the subordinates of the selected shapes.

When the layout is applied to subordinates, their parent shapes maintain the initial position.

The Ribbon's Re-Layout Subordinates menu item allows end-users to apply a layout to the subordinates of the selected diagram items.


The layout is applied to all shapes on the canvas except the root shape if no shape is selected.

Use the following methods and commands to re-layout the subordinates of the specified diagram shapes in code.

Layout type Method
Tree DiagramControl.ApplyTreeLayoutForSubordinates
Tip-Over Tree DiagramControl.ApplyTipOverTreeLayoutForSubordinates
Mind Map DiagramControl.ApplyMindMapTreeLayoutForSubordinates

Expanded See Also

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