Udostępnij za pośrednictwem


ScrollView.ViewportWidth Property

Definition

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

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

Property Value

Double

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