UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Method HookWindowClosedEvents

    HookWindowClosedEvents(Window)

    Configures the navigator to handle window closed events to trigger navigator shutdown and prevent closing the window if navigation or busy task are in progress, dialogs are showing, or any view models are preventing navigating away from the current view.

    Declaration
    public void HookWindowClosedEvents(Window window)
    Parameters
    Type Name Description
    Window window
    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if window closed events have already been hooked.

    © Singulink. All rights reserved.