ScrollView.ScrollTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- options
- ScrollingScrollOptions
傳回
Int32
int
- 屬性