Manipulation.SetManipulationMode(UIElement, ManipulationModes) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定指定元素的操作模式。
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
設定操控模式的元素。
- mode
- ManipulationModes
新的操控模式。