IScrollController.SetValues(Double, Double, Double, Double) Method
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.
Provides dimension information about the scrolling control to the scroll controller.
public:
void SetValues(double minOffset, double maxOffset, double offset, double viewportLength);
void SetValues(double const& minOffset, double const& maxOffset, double const& offset, double const& viewportLength);
public void SetValues(double minOffset, double maxOffset, double offset, double viewportLength);
function setValues(minOffset, maxOffset, offset, viewportLength)
Public Sub SetValues (minOffset As Double, maxOffset As Double, offset As Double, viewportLength As Double)
Parameters
- minOffset
-
Double
double
Specifies the minimum offset allowed for the relevant scrolling orientation.
- maxOffset
-
Double
double
Specifies the maximum offset allowed for the relevant scrolling orientation.
- offset
-
Double
double
Specifies the current offset value.
- viewportLength
-
Double
double
Specifies the length of the scrolling control's viewport.
Remarks
The scrolling control is typically a ScrollPresenter, but may be another control that enables scrolling.
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