Compartir a través de


ScrollViewer.ScrollToHorizontalOffset(Double) Método

Definición

Nota:

ScrollToHorizontalOffset puede modificarse o no estar disponible para las versiones después de Windows 8.1. En su lugar, use ChangeView.

Desplaza el contenido que se encuentra dentro del ScrollViewer hasta la posición de desplazamiento horizontal especificada.

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)

Parámetros

offset
Double

double

Posición a la que se desplaza el contenido.

Atributos

Se aplica a