Namespace Dmnk.Blazor.Dialogs.DefaultDialogs
Provides a set of generic ViewModels (without the actual Views) for some basic dialogs. Also provides a set of extension methods on IVmDialogController to easily open these dialogs.
Classes
- ConfirmationDialogControllerExtensions
Some small extension methods to make showing confirmation dialogs (see ConfirmationDialogViewModel) easier.
- ConfirmationDialogViewModel
Show a confirmation dialog with "Yes" and "No" buttons. The Result is a boolean indicating whether the user confirmed or denied the prompt. Prefer using ConfirmationDialogControllerExtensions to show this dialog.
- InputDialogControllerExtensions
Helper methods to make showing input dialogs (see InputDialogViewModel<T>) easier.
- InputDialogViewModel<T>
This dialog will ask the user for a single input value of type T, and optionally Validate it.
- MessageBoxDialogControllerExtensions
Extension methods for IVmDialogController to show simple message boxes with a single "OK" button, using the MessageBoxViewModel.
- MessageBoxViewModel
ViewModel for a simple message box dialog, which displays a message and an "OK" button. See the MessageBox functions in Dmnk.Blazor.Dialogs.DefaultDialogs.VmDialogControllerExtensionsHelpers for usage.
Enums
- MessageBoxType
The type of message box, which determines the icon and styling used by default.