Share via


IScrollController.SetValues(Double, Double, Double, Double) Method

Definition

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