ScrollView.ViewportWidth Property

Definition

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

C#
public double ViewportWidth { get; }

Property Value

Double

The horizontal 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

Product Versions
Windows App SDK 1.4, 1.5, 1.6