ViewportHeight Property

ScrollChangedEventArgs.ViewportHeight Property


Gets the updated value of the viewport height for a ScrollViewer.

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

public double ViewportHeight { get; }

Property Value

Type: System.Double

A Double that represents the updated viewport height of a ScrollViewer.

The following example shows how to get the value of the ViewportHeight property.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft