ViewportControl.Bounds Property

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

Gets or sets the bounds of the scrollable surface in the ViewportControl.

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

Syntax

Public Property Bounds As Rect
public Rect Bounds { get; set; }

Property Value

Type: System.Windows..::.Rect
The bounds of the scrollable surface in the ViewportControl.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

ViewportControl Class

System.Windows.Controls.Primitives Namespace