Share via


ScrollView.ViewportHeight Property

Definition

Gets the vertical size of the viewable content in the ScrollView.

public:
 property double ViewportHeight { double get(); };
double ViewportHeight();
public double ViewportHeight { get; }
var double = scrollView.viewportHeight;
Public ReadOnly Property ViewportHeight As Double

Property Value

Double

double

The vertical size of the viewable content in the ScrollView.

Remarks

The extent includes all the content in the ScrollView, whether visible or not. The viewport is the visible area of the content.

Applies to