ViewportControl.Viewport Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the current viewport.

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

Syntax

Public ReadOnly Property Viewport As Rect
public Rect Viewport { get; }

Property Value

Type: System.Windows..::.Rect
The current viewport.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

ViewportControl Class

System.Windows.Controls.Primitives Namespace