Windows Dev Center

ScrollContentPresenter.ViewportHeight Property

Gets the vertical size of the viewport.

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

public double ViewportHeight { get; }

Property Value

Type: System.Double
The vertical size of the viewport.



The viewport is the visible area of the content. The extent includes all the content in the ScrollViewer.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft