MindFusion.Wpf Pack Programmer's Guide
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

ScrollXProperty

Identifies the ScrollX dependency property.

ScrollYProperty

Identifies the ScrollY dependency property.

ZoomFactorProperty

Identifies the ZoomFactor dependency property.

 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.

ScrollOwner

Implements IScrollInfo.ScrollOwner.

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.

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

DiagramPresenter Class
MindFusion.Diagramming.Wpf Namespace