Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ScrollViewer.ViewportHeight Property
Definition
- Namespace:
- Microsoft.UI.Xaml.Controls
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the vertical size of the viewable content.
public:
property double ViewportHeight { double get(); };
double ViewportHeight();
public double ViewportHeight { get; }
var double = scrollViewer.viewportHeight;
Public ReadOnly Property ViewportHeight As Double
Property Value
Double
double
The vertical size of the viewable content.
Remarks
The viewport includes all the visible content in the ScrollViewer.
Applies to
See also
Feedback
Was this page helpful?
