ScrollView.ScrollBy 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ScrollBy(Double, Double) | |
ScrollBy(Double, Double, ScrollingScrollOptions) |
ScrollBy(Double, Double)
public:
virtual int ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta) = ScrollBy;
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("ScrollBy")]
int ScrollBy(double const& horizontalOffsetDelta, double const& verticalOffsetDelta);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("ScrollBy")]
public int ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta);
Public Function ScrollBy (horizontalOffsetDelta As Double, verticalOffsetDelta As Double) As Integer
參數
- horizontalOffsetDelta
-
Double
double
- verticalOffsetDelta
-
Double
double
傳回
Int32
int
- 屬性
適用於
ScrollBy(Double, Double, ScrollingScrollOptions)
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("ScrollByWithOptions")]
int ScrollBy(double const& horizontalOffsetDelta, double const& verticalOffsetDelta, ScrollingScrollOptions const& options);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("ScrollByWithOptions")]
public int ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta, ScrollingScrollOptions options);
Public Function ScrollBy (horizontalOffsetDelta As Double, verticalOffsetDelta As Double, options As ScrollingScrollOptions) As Integer
參數
- horizontalOffsetDelta
-
Double
double
- verticalOffsetDelta
-
Double
double
- options
- ScrollingScrollOptions
傳回
Int32
int
- 屬性