Manipulation.SetManipulationMode Method (UIElement, ManipulationModes)

.NET Framework (current version)
 

Sets the mode of manipulation for the specified element.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static void SetManipulationMode(
	UIElement element,
	ManipulationModes mode
)

Parameters

element
Type: System.Windows.UIElement

The element on which to set the manipulation mode.

mode
Type: System.Windows.Input.ManipulationModes

The new manipulation mode.

.NET Framework
Available since 4.0
Return to top
Show: