StackPanel.ViewportWidth Property
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Gets a value that contains the horizontal size of the content's viewport.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System.DoubleThe Double that represents the vertical size of the content's viewport. The default value is 0.0.
Implements
IScrollInfo.ViewportWidthThe returned value is described in Device Independent Pixels.
.NET Framework
Available since 3.0
Available since 3.0
Show: