ScrollViewer.ScrollToVerticalOffset(Double) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
注意
scrollToVerticalOffset 可能會在Windows 8.1之後變更或無法使用。 請改用 ChangeView。
將 ScrollViewer 內的內容捲動至指定的垂直位移位置。
public:
virtual void ScrollToVerticalOffset(double offset) = ScrollToVerticalOffset;
/// [Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
void ScrollToVerticalOffset(double const& offset);
/// [Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
void ScrollToVerticalOffset(double const& offset);
[Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public void ScrollToVerticalOffset(double offset);
[Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public void ScrollToVerticalOffset(double offset);
function scrollToVerticalOffset(offset)
Public Sub ScrollToVerticalOffset (offset As Double)
參數
- offset
-
Double
double
內容捲動的目標位置。
- 屬性