Dela via


ScrollContentPresenter.ViewportWidth Property

Definition

Gets the horizontal size of the viewable content.

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

Property Value

Double

double

The horizontal size of the viewable content.

Remarks

The viewport includes all the visible content in the ScrollViewer.

Applies to

See also