Share via


UINavigationController.UINavigationControllerAdded 이벤트

정의

새 UI 탐색 컨트롤러가 연결되면 신호를 보냅니다.

// Register
static event_token UINavigationControllerAdded(EventHandler<UINavigationController> const& handler) const;

// Revoke with event_token
static void UINavigationControllerAdded(event_token const* cookie) const;

// Revoke with event_revoker
static UINavigationController::UINavigationControllerAdded_revoker UINavigationControllerAdded(auto_revoke_t, EventHandler<UINavigationController> const& handler) const;
public static event System.EventHandler<UINavigationController> UINavigationControllerAdded;
function onUINavigationControllerAdded(eventArgs) { /* Your code */ }
Windows.Gaming.Input.UINavigationController.addEventListener("uinavigationcontrolleradded", onUINavigationControllerAdded);
Windows.Gaming.Input.UINavigationController.removeEventListener("uinavigationcontrolleradded", onUINavigationControllerAdded);
- or -
Windows.Gaming.Input.UINavigationController.onuinavigationcontrolleradded = onUINavigationControllerAdded;
Public Shared Custom Event UINavigationControllerAdded As EventHandler(Of UINavigationController) 

이벤트 유형

설명

이미 추가된 컨트롤러를 식별하려면 UINavigationController.UINavigationControllers를 사용하여 연결된 컨트롤러 목록을 쿼리합니다.

적용 대상