ViewportWidth Property

ScrollViewer.ViewportWidth Property

 

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

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 viewport. The default is 0.0.

The viewport is the visible area of the content.

Identifier field

ViewportWidthProperty

Metadata properties set to true

None

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