Search
VisualDiagramView Members
Constructors Fields Properties Methods
 


This is old version of DiagramView class that implements support for multiple views per diagram by means of VisualBrush. It will be removed from a future version of the library.

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

 Public Constructors

  Name Description

VisualDiagramView

Creates DiagramView instance

 Public Fields

  Name Description

ZoomFactorProperty

Identifies the ZoomFactor dependency property.

 Public Properties

  Name Description

Diagram

The Diagram instance that could be shared with other views

InactiveViewOpacity

The opacity of inactive views.

ScrollX

Horizontal scroll in document coordinates

ScrollY

Vertical scroll in document coordinates

View

A component that renders the diagram inside inactive views.

ZoomFactor

Gets or sets the effective zoom factor used to scale up or down the Diagram. This property takes into consideration the Diagram.ZoomFactor so changing it will not cause visual change

 Protected Properties

  Name Description

DocumentToDiagramMatrix

Returns a Matrix representing the transformation from diagram logical coordinates to the control's actual WPF device-indepepndent point coordinates.

 Public Methods

  Name Description

ActivateView

Make this view contain the real Diagram. A Diagram instance can be a child of only one view, other views contain dumb objects that only look like the diagram. In order to receive events a view must be activated

ClientToDoc

Overloaded.  

DocToClient

Overloaded.  

GetActiveView

Overloaded.  

SetZoomFactor

Sets the zoom factor, preserving the on-screen position of the specified diagram point.

TransformToDocument

Transforms the point from view coordinates to diagram document coordinates

ZoomIn

Zooms document's items thus making them appear closer.

ZoomOut

Zooms the diagram out making items appear further away.

ZoomToFit

Zooms the view to fit the document contents in the Diagram client area.

ZoomToRect

Overloaded.  

 See Also