ViewportWidth Property

ScrollViewer.ViewportWidth Property


Gets a value that contains the horizontal size of the content's . GTMT

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

public double ViewportWidth { get; }

Property Value

Type: System.Double

A Double that represents the horizontal size of the content's . The default is 0.0.GTMT

The viewport is the visible area of the content.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft