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)
Syntax
Public Enumeration ManipulationLockMode
public enum ManipulationLockMode
Members
Member name | Description | |
---|---|---|
Free | All the boundaries of the ViewportControl can be dragged and the control can be flicked freely. | |
Horizontal | ViewportControl has only horizontal scrolling. | |
Vertical | ViewportControl has only vertical scrolling. | |
PreferHorizontalOrVertical | ViewportControl is locked in a 22.5 degrees on either side of X and Y axis. | |
HorizontalOrVertical | ViewportControl is locked in a 45 degree on either side of the X or Y axes. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0