ScrollBar.ViewportSize Property
Definition
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 or sets the amount of the scrollable content that is currently visible.
public:
property double ViewportSize { double get(); void set(double value); };
double ViewportSize();
void ViewportSize(double value);
public double ViewportSize { get; set; }
var double = scrollBar.viewportSize;
scrollBar.viewportSize = double;
Public Property ViewportSize As Double
<ScrollBar ViewportSize="double"/>
Property Value
Double
double
The amount of the scrollable content that is currently visible. The default is 0.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for