Class DialogPresenterExtensions
Provides extension methods for IDialogPresenter to show message dialogs.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public static class DialogPresenterExtensions
Methods
| Name | Description |
|---|---|
| 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. |
| ShowMessageDialogAsync(IDialogPresenter, string) | Shows a message dialog with an "OK" button and returns a task that completes when the dialog closes. |
| 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. |
| ShowMessageDialogAsync(IDialogPresenter, string, string) | Shows a message dialog with an "OK" button and returns a task that completes when the dialog closes. |
| 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. |