ScrollContentPresenter.ViewportHeight Property

Definition

Gets the vertical size of the viewable content.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ScrollContentPresenter.ViewportHeight.

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

Property Value

Double

double

The vertical size of the viewable content.

Remarks

The viewport includes all the visible content in the ScrollViewer.

Applies to

See also