The DiagramScrollViewer type exposes the following members.

Methods

  NameDescription
GetViewport
Gets the viewport (the part of the scroll region which is visible).
OnApplyTemplate
Called by the framework when a template is applied to the control.
(Overrides FrameworkElement..::.OnApplyTemplate()()().)
OnRenderSizeChanged
Called whenever the rendering size of this DiagramScrollViewer changes.
(Overrides FrameworkElement..::.OnRenderSizeChanged(SizeChangedInfo).)
SetViewport
Sets the viewport (the part of the scroll region which is visible).
SizeToFit
Adjusts the zoom values and the viewport to center the whole diagram into the viewport area.
TranslateViewPort
Moves the viewport by the given x and y movement values. Changes the ExtraSpace property to allow for infinite viewport panning.

See Also