SetManipulationMode Method

ScrollViewer.SetManipulationMode Method

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

Sets the value of the ManipulationMode attached property, and supports the property's XAML usage.

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

public static void SetManipulationMode(
	DependencyObject element,
	ManipulationMode manipulationMode
)

Parameters

element
Type: System.Windows.DependencyObject
The element to set the property value on.
manipulationMode
Type: System.Windows.Controls.ManipulationMode
The value to set.

Version Notes

Windows Phone

For information on using manipulations on Windows Phone, see How to handle manipulation events for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft