Skip to content

IMessageBoxService interface

Shows standard message boxes — a short piece of text, an icon and a fixed set of buttons — from view model code that must not reference any window type.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts

Declaration

public interface IMessageBoxService

Members

name description
Show(…) Shows a modal message box owned by the specified window. (2 methods)

Remarks

Use IChoiceDialogService instead when the button captions are defined by the application rather than chosen from MessageBoxButtons.

See Also

Used in articles