UINavigationController.UINavigationControllerRemoved 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當 UI 流覽控制器中斷連線時發出訊號。
// Register
static event_token UINavigationControllerRemoved(EventHandler<UINavigationController> const& handler) const;
// Revoke with event_token
static void UINavigationControllerRemoved(event_token const* cookie) const;
// Revoke with event_revoker
static UINavigationController::UINavigationControllerRemoved_revoker UINavigationControllerRemoved(auto_revoke_t, EventHandler<UINavigationController> const& handler) const;
public static event System.EventHandler<UINavigationController> UINavigationControllerRemoved;
function onUINavigationControllerRemoved(eventArgs) { /* Your code */ }
Windows.Gaming.Input.UINavigationController.addEventListener("uinavigationcontrollerremoved", onUINavigationControllerRemoved);
Windows.Gaming.Input.UINavigationController.removeEventListener("uinavigationcontrollerremoved", onUINavigationControllerRemoved);
- or -
Windows.Gaming.Input.UINavigationController.onuinavigationcontrollerremoved = onUINavigationControllerRemoved;
Public Shared Custom Event UINavigationControllerRemoved As EventHandler(Of UINavigationController)