An open API service indexing awesome lists of open source software.

https://github.com/kuiperzone/avalonia.dialogs

Another Avalonia MessageBox, but may add other features in future.
https://github.com/kuiperzone/avalonia.dialogs

Last synced: 9 months ago
JSON representation

Another Avalonia MessageBox, but may add other features in future.

Awesome Lists containing this project

README

          

# MessageBox for Avalonia #

This is another **MessageBox** for Avalonia. It's mainly for my own use, however it does provide a great but simple
MessageBox with a means to internationalise language strings.

It's simple to use:

private async void ClickHandler(object? sender, RoutedEventArgs e)
{
var rslt = await MessageBox.ShowDialog(this, "OK message", MessageBoxButtons.OK | MessageBoxButtons.Cancel);

if (rslt == MessageBoxButtons.OK)
{
// OK Clicked
}
}

The package is called "KuiperZone.Avalonia.Dialogs" as I may add further dialogs and other extensions in the future.

Licensed under MIT. Copyright (C) 2023 Andy Thomas