Share via


ScrollPresenter.ViewportHeight Property

Definition

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

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

Property Value

Double

double

The vertical size of the viewable content in the ScrollPresenter.

Remarks

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

Applies to