ScrollViewer.ExtentHeight Property


Gets a value that contains the vertical size of the extent.

 property double ExtentHeight { double get(); };
public double ExtentHeight { get; }
member this.ExtentHeight : double
Public ReadOnly Property ExtentHeight As Double

Property Value


A Double that represents the vertical size of the extent. The default is 0.0.


ExtentHeight is only an output property; it can effectively be set by specifying the Height of the content element.

If CanContentScroll is true, the values of the ExtentHeight, ScrollableHeight, ViewportHeight, and VerticalOffset properties are number of items. If CanContentScroll is false, the values of these properties are Device Independent Pixels.

Dependency Property Information

Identifier field ExtentHeightProperty
Metadata properties set to true None

Applies to