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

Search Results for

    Method ShowMessageDialogAsync

    ShowMessageDialogAsync(IDialogNavigatorBase, 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 IDialogNavigatorBase navigator, string message)
    Parameters
    Type Name Description
    IDialogNavigatorBase navigator

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

    string message

    The message for the dialog.

    Returns
    Type Description
    Task

    ShowMessageDialogAsync(IDialogNavigatorBase, 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 IDialogNavigatorBase navigator, string message, string title)
    Parameters
    Type Name Description
    IDialogNavigatorBase 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(IDialogNavigatorBase, string, IEnumerable<string>)

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

    Declaration
    public static Task<int> ShowMessageDialogAsync(this IDialogNavigatorBase navigator, string message, IEnumerable<string> buttonLabels)
    Parameters
    Type Name Description
    IDialogNavigatorBase 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(IDialogNavigatorBase, string, string, IEnumerable<string>)

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

    Declaration
    public static Task<int> ShowMessageDialogAsync(this IDialogNavigatorBase navigator, string message, string title, IEnumerable<string> buttonLabels)
    Parameters
    Type Name Description
    IDialogNavigatorBase 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(IDialogNavigatorBase, MessageDialogOptions)

    Shows a message dialog with the specified options and returns a task that completes with the button index that was clicked 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 IDialogNavigatorBase navigator, MessageDialogOptions options)
    Parameters
    Type Name Description
    IDialogNavigatorBase 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.