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

用於定義座標空間的容器。

適用於