ManipulationLockMode Enumeration

ManipulationLockMode Enumeration

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

Specifies values that you can use to lock manipulation on ViewportControl.

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

public enum ManipulationLockMode

Member nameDescription
FreeAll the boundaries of the ViewportControl can be dragged and the control can be flicked freely.
HorizontalViewportControl has only horizontal scrolling.
VerticalViewportControl has only vertical scrolling.
PreferHorizontalOrVerticalViewportControl is locked in a 22.5 degrees on either side of X and Y axis.
HorizontalOrVerticalViewportControl is locked in a 45 degree on either side of the X or Y axes.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft