Share via


ScrollPresenter.ViewportWidth Property

Definition

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

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

Property Value

Double

double

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