Share via


ScrollView.ScrollBy Method

Definition

Overloads

ScrollBy(Double, Double)

Asynchronously scrolls by the specified delta amount with animations enabled and snap points respected.

ScrollBy(Double, Double, ScrollingScrollOptions)

Asynchronously scrolls by the specified delta amount with the specified animation and snap point modes.

ScrollBy(Double, Double)

Asynchronously scrolls by the specified delta amount with animations enabled and snap points respected.

public:
 virtual int ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta) = ScrollBy;
/// [Windows.Foundation.Metadata.Overload("ScrollBy")]
int ScrollBy(double const& horizontalOffsetDelta, double const& verticalOffsetDelta);
[Windows.Foundation.Metadata.Overload("ScrollBy")]
public int ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta);
function scrollBy(horizontalOffsetDelta, verticalOffsetDelta)
Public Function ScrollBy (horizontalOffsetDelta As Double, verticalOffsetDelta As Double) As Integer

Parameters

horizontalOffsetDelta
Double

double

The offset to scroll by horizontally.

verticalOffsetDelta
Double

double

The offset to scroll by vertically.

Returns

Int32

int

A correlation ID number used to associate this method call with corresponding events.

Attributes

Applies to

ScrollBy(Double, Double, ScrollingScrollOptions)

Asynchronously scrolls by the specified delta amount with the specified animation and snap point modes.

/// [Windows.Foundation.Metadata.Overload("ScrollByWithOptions")]
int ScrollBy(double const& horizontalOffsetDelta, double const& verticalOffsetDelta, ScrollingScrollOptions const& options);
[Windows.Foundation.Metadata.Overload("ScrollByWithOptions")]
public int ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta, ScrollingScrollOptions options);
function scrollBy(horizontalOffsetDelta, verticalOffsetDelta, options)
Public Function ScrollBy (horizontalOffsetDelta As Double, verticalOffsetDelta As Double, options As ScrollingScrollOptions) As Integer

Parameters

horizontalOffsetDelta
Double

double

The offset to scroll by horizontally.

verticalOffsetDelta
Double

double

The offset to scroll by vertically.

options
ScrollingScrollOptions

Options that specify whether or not animations are enabled and snap points are respected.

Returns

Int32

int

A correlation ID number used to associate this method call with corresponding events.

Attributes

Applies to