SetViewportOrigin Method
Collapse the table of content
Expand the table of content

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)

public void SetViewportOrigin(
	Point location
)

Parameters

location
Type: System.Windows.Point
The specified viewport origin.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft