ScrollViewer.ScrollToHorizontalOffset(Double) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
scrollToHorizontalOffset 在Windows 8.1后可能会更改或不可用于发布。 请改用 ChangeView。
将 ScrollViewer 中的内容滚动到指定的水平偏移位置。
public:
virtual void ScrollToHorizontalOffset(double offset) = ScrollToHorizontalOffset;
/// [Windows.Foundation.Metadata.Deprecated("ScrollToHorizontalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
void ScrollToHorizontalOffset(double const& offset);
/// [Windows.Foundation.Metadata.Deprecated("ScrollToHorizontalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
void ScrollToHorizontalOffset(double const& offset);
[Windows.Foundation.Metadata.Deprecated("ScrollToHorizontalOffset 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 ScrollToHorizontalOffset(double offset);
[Windows.Foundation.Metadata.Deprecated("ScrollToHorizontalOffset 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 ScrollToHorizontalOffset(double offset);
function scrollToHorizontalOffset(offset)
Public Sub ScrollToHorizontalOffset (offset As Double)
参数
- offset
-
Double
double
内容将滚动到的位置。
- 属性