UIElement.ManipulationCompleted 事件

定義

當對 UIElement 物件進行的操作和慣性完成時發生。

C#
public event EventHandler<System.Windows.Input.ManipulationCompletedEventArgs> ManipulationCompleted;

事件類型

EventHandler<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