ScrollContentPresenter.ViewportWidth Property

July 28, 2014

Gets the horizontal size of the viewport.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public double ViewportWidth { get; }

Property Value

Type: System.Double
The horizontal size of the viewport.

Implements

IScrollInfo.ViewportWidth

The viewport is the visible area of the content. The extent includes all the content in the ScrollViewer.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft