IConfirmDialogService interface¶
Shows a confirmation or notification dialog with a "Don't show again" check box and honours the user's choice: once the box is ticked and the dialog is answered, the dialog with the same key is no longer shown and the remembered answer is returned instead.
Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts
Declaration¶
Methods¶
| name | description |
|---|---|
| Reset(…) | Makes a suppressed dialog appear again. |
| Show(…) | Shows the dialog unless the user has already asked not to see it. |
| Show<TViewModel>(…) | Shows the dialog with the view of a view model as its content, unless the user has already asked not to see it. |
Remarks¶
The choice is kept by IApplicationSettingsService. Use IMessageBoxService for dialogs that must always appear.