ViewportWidth Property

ScrollViewer.ViewportWidth Property

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

Gets a value that contains the horizontal size of the viewable content.

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

public double ViewportWidth { get; internal set; }

Property Value

Type: System.Double
The horizontal size of the viewable content. The default value is 0.0.

Dependency property identifier field: ViewportWidthProperty

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft