Returns the visible portion of the diagram area.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public Rect Viewport { get; } |
Visual Basic
![]() |
---|
Public ReadOnly Property Viewport As Rect |
A System.Windows.Rect instance.
When the Diagram is placed inside a ScrollViewer, this property returns what part of the diagram is currently visible within the viewer.