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

Gets or sets a value indicating whether horizontal scrolling is enabled.

CanVerticallyScroll

Gets or sets a value indicating whether vertical scrolling is enabled.

Diagram

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

Extent

 

ExtentHeight

Implements IScrollInfo.ExtentHeight.

ExtentWidth

Implements IScrollInfo.ExtentWidth.

HorizontalOffset

Implements IScrollInfo.HorizontalOffset.

IsLogicalScrollEnabled

 

LightweightPresenters

Gets or sets whether diagram item presenters in the WPF visual tree should create less visual children, at the cost of more frequent repaints.

Offset

Gets or sets the current scroll offset.

PageScrollSize

 

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.

ScrollSize

 

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.

Viewport

 

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

BringIntoView

 

Dispose

Overloaded.  

GetControlInDirection

 

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.

RaiseScrollInvalidated

 

SetHorizontalOffset

Implements IScrollInfo.SetHorizontalOffset.

SetVerticalOffset

Implements IScrollInfo.SetVerticalOffset.

 Protected Methods

  Name Description

ArrangeOverride

Panel.ArrangeOverride override.

GetVisualChild

Panel.GetVisualChild override.

MeasureOverride

Panel.MeasureOverride override.

OnPointerMoved

Control.OnMouseMove override.

OnPointerPressed

UIElement.OnPreviewMouseDown override.

OnPointerReleased

UIElement.OnPreviewMouseUp override.

Render

Panel.OnRender override.

 Public Events

  Name Description

ScrollChanged

 

ScrollInvalidated

 

ZoomFactorChanged

Occurs when the zoom factor changes.

 See Also