UIElement.ManipulationCompleted 事件
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當對 UIElement 物件進行的操作和慣性完成時發生。
public:
event EventHandler<System::Windows::Input::ManipulationCompletedEventArgs ^> ^ ManipulationCompleted;
C#
public event EventHandler<System.Windows.Input.ManipulationCompletedEventArgs> ManipulationCompleted;
member this.ManipulationCompleted : EventHandler<System.Windows.Input.ManipulationCompletedEventArgs>
Public Custom Event ManipulationCompleted As EventHandler(Of ManipulationCompletedEventArgs)
您可以使用此事件來取得操作完成時的相關資訊。 例如,您可以使用 ManipulationCompletedEventArgs.TotalManipulation 屬性來判斷操作變更位置的總數。
如需操作的詳細資訊,請參閱 輸入概觀。 如需回應操作的應用程式範例,請參閱 逐步解說:建立您的第一個觸控應用程式。
識別碼欄位 | ManipulationCompletedEvent |
路由策略 | 鼓 泡 |
代理人 | 型別 EventHandler<TEventArgs> 的 ManipulationCompletedEventArgs。 |
產品 | 版本 |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |