Share via


ViewportControl.SetViewportOrigin Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Scrolls to the specified viewport origin.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public Sub SetViewportOrigin ( _
    location As Point _
)
public void SetViewportOrigin(
    Point location
)

Parameters

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

ViewportControl Class

System.Windows.Controls.Primitives Namespace