Manipulation.SetManipulationContainer(UIElement, IInputElement) 方法

定義

設定項目,定義所指定項目的操作座標。Sets the element that defines the coordinates for the manipulation of the specified element.

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

與操作產生關聯的項目。The element with which the manipulation is associated.

container
IInputElement

用於定義座標空間的容器。The container that defines the coordinate space.

適用於