Xamarin Pack Programmer's Guide
DiagramView Members
Constructors Properties Methods
 


Displays the content of a Diagram object and provides the ability to autoscroll and display scrollbars.

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

 Public Constructors

  Name Description

DiagramView

Initializes a new instance of the DiagramView class.

 Public Properties

  Name Description

AllowAutoScroll

Gets or sets a value indicating whether the view will autoscroll during user interactions when the interaction happens near the edge of the view.

AutoScrollAmount

Gets or sets the step used to translate the view during autoscrolling.

Diagram

Gets the diagram displayed in the view.

ScrollZoneSize

Gets or sets the distance from the edge of the view where user interactions would trigger autoscrolling.

 Public Methods

  Name Description

ZoomToFit

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

 Protected Methods

  Name Description

OnAdded

Layout.OnAdded override.

OnParentSet

VisualElement.OnParentSet override.

OnRemoved

Layout.OnRemoved override.

OnSizeAllocated

Raises the size allocated event.

OnSizeRequest

This method is called during the measure pass of a layout cycle to get the desired size of an element.

 See Also

DiagramView Class
MindFusion.Diagramming Namespace