Share via


Manipulation.SetManipulationContainer(UIElement, IInputElement) 方法

定义

设置元素,该元素定义指定元素的操作的坐标。

public:
 static void SetManipulationContainer(System::Windows::UIElement ^ element, System::Windows::IInputElement ^ container);
public static void SetManipulationContainer (System.Windows.UIElement element, System.Windows.IInputElement container);
static member SetManipulationContainer : System.Windows.UIElement * System.Windows.IInputElement -> unit
Public Shared Sub SetManipulationContainer (element As UIElement, container As IInputElement)

参数

element
UIElement

与操作关联的元素。

container
IInputElement

定义坐标空间的容器。

适用于