Manipulation.AddManipulator(UIElement, IManipulator) Method
Definition
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
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.