共用方式為


SpatialGestureRecognizer.NavigationCompleted 事件

定義

流覽 手勢完成時發生。

// Register
event_token NavigationCompleted(TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs const&> const& handler) const;

// Revoke with event_token
void NavigationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
SpatialGestureRecognizer::NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialNavigationCompletedEventArgs> NavigationCompleted;
function onNavigationCompleted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("navigationcompleted", onNavigationCompleted);
spatialGestureRecognizer.removeEventListener("navigationcompleted", onNavigationCompleted);
- or -
spatialGestureRecognizer.onnavigationcompleted = onNavigationCompleted;
Public Custom Event NavigationCompleted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs) 

事件類型

備註

對於手部互動,當手指在NavigationStarted事件之後放開時,會引發 SpatialNavigationCompletedEventArgs事件。

針對語音互動,此事件不會引發。

對於動作控制器互動,當 NavigationStarted 事件之後放開 Select 觸發程式或按鈕時,就會引發此事件。

適用於