Search
PagedDiagramView Members
Constructors Properties Methods Events
 


Represents a view that displays the pages of a DiagramDocument.

The following tables list the members exposed by the PagedDiagramView type.

 Public Constructors

  Name Description

PagedDiagramView

Initializes a new instance of the PagedDiagramView class.

 Public Properties

  Name Description

AddButtonColor

Gets or sets the color of the Add icon.

AllowInplaceEdit

Gets or sets a value indicating whether in-place editing of the text of objects is enabled.

AllowRenamePages

Gets or sets whether DiagramPage titles can be renamed interactively.

Behavior

Gets or sets a value indicating how the control responds to user actions.

CurrentPage

Returns the topmost visible page.

Document

Gets or sets the displayed diagram document.

NavigationButtonColor

Gets or sets the color of navigation icons.

PageAlignment

Gets or sets the horizontal alignment of pages.

PageBorderColor

Gets or sets the color of page borders.

PageBorderWidth

Gets or sets the thickness of page borders.

PageSpacing

Gets or sets the distance between page edges.

PrintOptions

Gets an object which provides customization properties for printing and print-preview.

RemoveButtonColor

Gets or sets the color of the Remove icon.

ScrollX

Gets or sets the view's horizontal scroll position.

ScrollY

Gets or sets the view's vertical scroll position.

ShowAddButton

Gets or sets whether the navigation bar should display an Add icon.

ShowRemoveButton

Gets or sets whether the navigation bar should display a Remove icon.

ZoomFactor

Gets or sets the zoom factor used to scale up or down the diagram pages.

 Public Methods

  Name Description

Animate

Animates the view state.

Print

Prints the diagram document to the default printer.

PrintPreview

Displays the standard .NET print preview form.

PrintPreviewEx

Displays a custom preview form.

 Protected Methods

  Name Description

OnPaddingChanged

Control.OnPaddingChanged override.

OnPageAdded

Raises the PageAdded event.

OnPageAdding

Raises the PageAdding event.

OnPageRemoved

Raises the PageRemoved event.

OnPageRemoving

Raises the PageRemoving event.

OnPageRenamed

Raises the PageRenamed event.

 Public Events

  Name Description

PageAdded

Raised when the user adds a new page to the document interactively, by clicking the Add icon in view's navigation area.

PageAdding

Raised when a page is about to be added interactively, letting you cancel the operation.

PageRemoved

Raised when the user deletes a page from the document interactively, by clicking the Remove icon in view's navigation area.

PageRemoving

Raised when a page is about to be removed interactively, letting you cancel the operation.

PageRenamed

Raised when the page has been renamed.

 See Also