ScrollPresenter.ScrollBy 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.
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
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
int
A correlation ID number used to associate this method call with corresponding events.
- Attributes