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

Search Results for

    Method RestoreDialogFocusState

    RestoreDialogFocusState(object, object?)

    Restores focus into the specified framework dialog object after a child dialog closes. Implementations should defer the restoration until after any focus handling the framework performs when a dialog closes, and should ensure focus ends up inside the dialog even if focusState is null or no longer applicable. The default implementation does nothing.

    Declaration
    protected virtual void RestoreDialogFocusState(object dialog, object? focusState)
    Parameters
    Type Name Description
    object dialog

    The framework-specific dialog object that is now the top showing dialog.

    object focusState

    The focus state captured by CaptureDialogFocusState() when the child dialog was shown.

    © Singulink. All rights reserved.