# MessageBoxServiceExtensions class

Shorter forms of MessageBoxIcon) for the common cases, and forms that take the owner as an Avalonia TopLevel for code that already holds one. A top level that is not a Window gives no owner, so the active application window is used.

**Namespace:** [`Eremex.AvaloniaUI.Controls.ApplicationServices`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)  
**Assembly:** `Eremex.Avalonia.Controls.ApplicationServices.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls.ApplicationServices](https://www.nuget.org/packages/Eremex.Avalonia.Controls.ApplicationServices)

## Declaration

```csharp
public static class MessageBoxServiceExtensions
```

## Methods

| name | description |
| --- | --- |
| static [Show](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/MessageBoxServiceExtensions/Show/index.md)(…) | Shows a message box with the given text, no caption, an OK button and no icon. (6 methods) |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.ApplicationServices.dll -->
