Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Manipulation.AddManipulator(UIElement, IManipulator) Method

Definition

Namespace:
System.Windows.Input
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Associates a IManipulator object with the specified element.

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

Parameters

element
UIElement

The element to associate the manipulator with.

manipulator
IManipulator

The object that provides the position of the input that creates or is added to a manipulation.

Exceptions

element is null.

-or-

manipulator is null.

The IsManipulationEnabled property on element is false.

Remarks

If element already has a manipulation associated with it, manipulator is added to the existing manipulation. Otherwise, a new manipulation is created.

Applies to


Feedback

Was this page helpful?