Manipulation.SetManipulationMode(UIElement, ManipulationModes) 方法

定義

設定所指定項目的操作模式。Sets the mode of manipulation for the specified element.

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

參數

element
UIElement

要設定操作模式的項目。The element on which to set the manipulation mode.

mode
ManipulationModes

新的操作模式。The new manipulation mode.

適用於