Partager via


ScrollViewer.ScrollToHorizontalOffset(Double) Méthode

Définition

Notes

ScrollToHorizontalOffset peut être modifié ou indisponible pour les versions après Windows 8.1. Utilisez plutôt ChangeView.

Fait défiler le contenu qui se trouve dans ScrollViewer jusqu’à la position de décalage horizontale spécifiée.

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)

Paramètres

offset
Double

double

Position à laquelle défile le contenu.

Attributs

S’applique à