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

Search Results for

    Class DialogNavigatorCore

    Provides the framework-agnostic implementation of IDialogNavigator. Holds the framework-specific dialog object and delegates dialog orchestration back to the owning NavigatorCore.

    Inheritance
    object
    DialogNavigatorCore
    Implements
    IDialogNavigator
    IDialogPresenter
    Namespace: Singulink.UI.Navigation
    Assembly: Singulink.UI.Navigation.dll
    Syntax
    public sealed class DialogNavigatorCore : IDialogNavigator, IDialogPresenter

    Properties

    Name Description
    Dialog

    Gets the framework-specific dialog object (e.g. a WinUI ContentDialog) associated with this dialog navigator.

    RootNavigator

    Gets the navigator that owns this dialog navigator.

    TaskRunner

    Gets the task runner for this navigator. This property can be accessed from any thread.

    Methods

    Name Description
    Close()

    Closes the dialog this navigator is assigned to. Throws InvalidOperationException if the dialog is not currently the top showing dialog.

    ShowDialogAsync(IDialogViewModel)

    Shows a dialog with the specified view model and returns a task that completes when the dialog closes.

    ShowDialogAsync<TResult>(IDialogViewModel<TResult>)

    Shows a dialog with the specified view model and returns a task that completes with the dialog result when the dialog closes.

    Extension Methods

    DialogPresenterExtensions.ShowMessageDialogAsync(IDialogPresenter, MessageDialogOptions)
    DialogPresenterExtensions.ShowMessageDialogAsync(IDialogPresenter, string)
    DialogPresenterExtensions.ShowMessageDialogAsync(IDialogPresenter, string, IEnumerable<string>)
    DialogPresenterExtensions.ShowMessageDialogAsync(IDialogPresenter, string, string)
    DialogPresenterExtensions.ShowMessageDialogAsync(IDialogPresenter, string, string, IEnumerable<string>)
    © Singulink. All rights reserved.