[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
   [Collapse]Diagram Control
     Diagram Designer
     Canvas
     Shapes Panel
     Properties Panel
     Ribbon
     Bottom Panel
     Page Setup Dialog Window
     Print Preview
     Creating Runtime Diagram Designer
     Pan and Zoom Panel
   [Expand]End-User Interaction
   [Expand]Diagram Items
   [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]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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Page Setup Dialog Window

The Page Setup dialog window provides access to the line jump options and allows end-users to change the page size, orientation and margins.

 

The dialog window contains two tabs.

Page Size

To hide the tab, set the DiagramOptionsProtection.AllowChangePageParameters property to false.

Option

Corresponding Property

Pre-defined size/Custom size DiagramOptionsView.PageSize
Page orientation Public property is not available
Page margin DiagramOptionsView.PageMargin

Layout and Routing

To hide the tab, set the DiagramOptionsProtection.AllowChangeLineJumpSettings property to false.

Option

Corresponding Property

Add line jumps to DiagramOptionsConnector.LineJumpPlacement
Line jump style DiagramOptionsConnector.LineJumpStyle
Line jump height/Line jump width DiagramOptionsConnector.LineJumpSize

In code, the dialog window can be invoked by executing the DiagramCommandsBase.SetPageParametersCommand. The command's parameter specifies which tab is displayed by default.

End-users can invoke it by clicking a button at the bottom right corner of the Page Setup and Layout ribbon groups.

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