共用方式為


ScrollView.ScrollTo 方法

定義

多載

ScrollTo(Double, Double)
ScrollTo(Double, Double, ScrollingScrollOptions)

ScrollTo(Double, Double)

public:
 virtual int ScrollTo(double horizontalOffset, double verticalOffset) = ScrollTo;
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("ScrollTo")]
int ScrollTo(double const& horizontalOffset, double const& verticalOffset);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("ScrollTo")]
public int ScrollTo(double horizontalOffset, double verticalOffset);
Public Function ScrollTo (horizontalOffset As Double, verticalOffset As Double) As Integer

參數

horizontalOffset
Double

double

verticalOffset
Double

double

傳回

Int32

int

屬性

適用於

ScrollTo(Double, Double, ScrollingScrollOptions)

/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("ScrollToWithOptions")]
int ScrollTo(double const& horizontalOffset, double const& verticalOffset, ScrollingScrollOptions const& options);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("ScrollToWithOptions")]
public int ScrollTo(double horizontalOffset, double verticalOffset, ScrollingScrollOptions options);
Public Function ScrollTo (horizontalOffset As Double, verticalOffset As Double, options As ScrollingScrollOptions) As Integer

參數

horizontalOffset
Double

double

verticalOffset
Double

double

傳回

Int32

int

屬性

適用於