Windows Dev Center

ViewportControl.Viewport Property

Gets the current viewport.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

public Rect Viewport { get; }

Property Value

Type: System.Windows.Rect
The current viewport.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft