Search
PagedDiagramView Class
Remarks See Also
 





Represents a view that displays the pages of a DiagramDocument.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public class PagedDiagramView : Control, RepeaterSource, IZoomTarget

Visual Basic  Copy Code

Public Class PagedDiagramView
    Inherits Control
    Implements RepeaterSource, IZoomTarget

 Remarks

The diagram pages are arranged vertically in a shared scrollable range. The distance between pages can be set via PageSpacing property. If pages are of differing widths, you can align them horizontally using the PageAlignment property.

Apart from using scrollbars, users can also change pages by clicking navigation buttons at the bottom of the view. The navigation bar can optionally display buttons for adding and removing pages, as specified by ShowAddButton and ShowRemoveButton properties. The control raises PageAdding and PageRemoving validation events to confirm the operations. If validated, there are PageAdded and PageRemoved events raised.

If the AllowRenamePages property is enabled, users can edit the Title of a DiagramPage by double clicking the label in navigation bar. The PageRenamed event is raised to notify the application when page is renamed.

 Inheritance Hierarchy

System.Object
    System.MarshalByRefObject
        System.ComponentModel.Component
            System.Windows.Forms.Control
                MindFusion.Diagramming.WinForms.PagedDiagramView

 See Also