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

Search Results for

    Method ShowMessageDialogAsync

    ShowMessageDialogAsync(IDialogPresenter, string)

    Shows a message dialog with an "OK" button and returns a task that completes when the dialog closes.

    Declaration
    public static Task ShowMessageDialogAsync(this IDialogPresenter navigator, string message)
    Parameters
    Type Name Description
    IDialogPresenter navigator

    The instance of the navigator to use to show the dialog.

    string message

    The message for the dialog.

    Returns
    Type Description
    Task

    ShowMessageDialogAsync(IDialogPresenter, string, string)

    Shows a message dialog with an "OK" button and returns a task that completes when the dialog closes.

    Declaration
    public static Task ShowMessageDialogAsync(this IDialogPresenter navigator, string message, string title)
    Parameters
    Type Name Description
    IDialogPresenter navigator

    The instance of the navigator to use to show the dialog.

    string message

    The message for the dialog.

    string title

    The title for the dialog.

    Returns
    Type Description
    Task

    ShowMessageDialogAsync(IDialogPresenter, string, IEnumerable<string>)

    Shows a message dialog with the specified button labels and returns a task with the resulting clicked button index when the dialog closes.

    Declaration
    public static Task<int> ShowMessageDialogAsync(this IDialogPresenter navigator, string message, IEnumerable<string> buttonLabels)
    Parameters
    Type Name Description
    IDialogPresenter navigator

    The instance of the navigator to use to show the dialog.

    string message

    The message for the dialog.

    IEnumerable<string> buttonLabels

    A list of labels for the buttons displayed in the dialog. At least one label must be specified.

    Returns
    Type Description
    Task<int>

    ShowMessageDialogAsync(IDialogPresenter, string, string, IEnumerable<string>)

    Shows a message dialog with the specified button labels and returns a task with the resulting clicked button index when the dialog closes.

    Declaration
    public static Task<int> ShowMessageDialogAsync(this IDialogPresenter navigator, string message, string title, IEnumerable<string> buttonLabels)
    Parameters
    Type Name Description
    IDialogPresenter navigator

    The instance of the navigator to use to show the dialog.

    string message

    The message for the dialog.

    string title

    The title for the dialog.

    IEnumerable<string> buttonLabels

    A list of labels for the buttons displayed in the dialog. At least one label must be specified.

    Returns
    Type Description
    Task<int>

    ShowMessageDialogAsync(IDialogPresenter, MessageDialogOptions)

    Shows a message dialog with the specified options and returns a task with the resulting clicked button index when the dialog closes. The options allow some additional customization of the dialog, such as configuring the default and cancel buttons.

    Declaration
    public static Task<int> ShowMessageDialogAsync(this IDialogPresenter navigator, MessageDialogOptions options)
    Parameters
    Type Name Description
    IDialogPresenter navigator

    The instance of the navigator to use to show the dialog.

    MessageDialogOptions options

    The options for the dialog, such as title, message and button labels.

    Returns
    Type Description
    Task<int>
    © Singulink. All rights reserved.