Edit

Share via


Manipulation.SetManipulationMode(UIElement, ManipulationModes) Method

Definition

Sets the mode of manipulation for the specified element.

public:
 static void SetManipulationMode(System::Windows::UIElement ^ element, System::Windows::Input::ManipulationModes mode);
public static void SetManipulationMode (System.Windows.UIElement element, System.Windows.Input.ManipulationModes mode);
static member SetManipulationMode : System.Windows.UIElement * System.Windows.Input.ManipulationModes -> unit
Public Shared Sub SetManipulationMode (element As UIElement, mode As ManipulationModes)

Parameters

element
UIElement

The element on which to set the manipulation mode.

mode
ManipulationModes

The new manipulation mode.

Applies to