DiagramLite Programmer's Guide
Diagram.Viewport Property
See Also
 





Returns the visible portion of the diagram area.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public Rect Viewport { get; }

Visual Basic  Copy Code

Public ReadOnly Property Viewport As Rect

 Property Value

A System.Windows.Rect instance.

 Remarks

When the Diagram is placed inside a ScrollViewer, this property returns what part of the diagram is currently visible within the viewer.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace