Search
DiagramPresenter Members
Constructors Fields Properties Methods Events
 


Renders the contents of a Diagram in specified viewport.

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

 Public Constructors

  Name Description

DiagramPresenter

Initializes a new instance of the DiagramPresenter class.

 Public Fields

  Name Description

ScrollClickDeltaProperty

Identifies the ScrollClickDelta dependency property.

ScrollWheelDeltaProperty

Identifies the ScrollWheelDelta dependency property.

ScrollXProperty

Identifies the ScrollX dependency property.

ScrollYProperty

Identifies the ScrollY dependency property.

ZoomFactorProperty

Identifies the ZoomFactor dependency property.

 Protected Fields

  Name Description

disposed

For internal use.

 Public Properties

  Name Description

CanHorizontallyScroll

Implements IScrollInfo.CanHorizontallyScroll.

CanVerticallyScroll

Implements IScrollInfo.CanVerticallyScroll.

Diagram

Gets or sets the Diagram whose contents should be rendered by this presenter.

ExtentHeight

Implements IScrollInfo.ExtentHeight.

ExtentWidth

Implements IScrollInfo.ExtentWidth.

HorizontalOffset

Implements IScrollInfo.HorizontalOffset.

ReadOnly

Gets or sets whether the presenter prevents user interaction with the diagram.

ScrollClickDelta

Gets or sets the amount to add to scroll position from scrollbar arrow event handlers.

ScrollOwner

Implements IScrollInfo.ScrollOwner.

ScrollWheelDelta

Gets or sets the amount to add to scroll position from mouse wheel event handlers.

ScrollX

Gets or sets the horizontal scroll position.

ScrollY

Gets or sets the vertical scroll position.

VerticalOffset

Implements IScrollInfo.VerticalOffset.

ViewportHeight

Implements IScrollInfo.ViewportHeight.

ViewportWidth

Implements IScrollInfo.ViewportWidth.

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

VisualChildrenCount

Panel.VisualChildrenCount override.

 Public Methods

  Name Description

LineDown

Implements IScrollInfo.LineDown.

LineLeft

Implements IScrollInfo.LineLeft.

LineRight

Implements IScrollInfo.LineRight.

LineUp

Implements IScrollInfo.LineUp.

MakeVisible

Implements IScrollInfo.MakeVisible.

MouseWheelDown

Implements IScrollInfo.MouseWheelDown.

MouseWheelLeft

Implements IScrollInfo.MouseWheelLeft.

MouseWheelRight

Implements IScrollInfo.MouseWheelRight.

MouseWheelUp

Implements IScrollInfo.MouseWheelUp.

PageDown

Implements IScrollInfo.PageDown.

PageLeft

Implements IScrollInfo.PageLeft.

PageRight

Implements IScrollInfo.PageRight.

PageUp

Implements IScrollInfo.PageUp.

SetHorizontalOffset

Implements IScrollInfo.SetHorizontalOffset.

SetVerticalOffset

Implements IScrollInfo.SetVerticalOffset.

 Protected Methods

  Name Description

ArrangeOverride

Panel.ArrangeOverride override.

Dispose

Overloaded.  

GetVisualChild

Panel.GetVisualChild override.

MeasureOverride

Panel.MeasureOverride override.

OnPreviewMouseDown

UIElement.OnPreviewMouseDown override.

OnPreviewMouseMove

Control.OnMouseMove override.

OnPreviewMouseUp

UIElement.OnPreviewMouseUp override.

OnPreviewTouchDown

Panel.OnPreviewTouchDown override.

OnPreviewTouchMove

Panel.OnPreviewTouchMove override.

OnPreviewTouchUp

Panel.OnPreviewTouchUp override.

OnRender

Panel.OnRender override.

 Public Events

  Name Description

ZoomFactorChanged

Occurs when the zoom factor changes.

 See Also