ScrollViewer.ScrollToHorizontalOffset(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note
ScrollToHorizontalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.
Scrolls the content that is within the ScrollViewer to the specified horizontal offset position.
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)
Parameters
- offset
-
Double
double
The position that the content scrolls to.
- Attributes