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.
- Host: GitHub
- URL: https://github.com/kuiperzone/avalonia.dialogs
- Owner: kuiperzone
- License: other
- Created: 2023-01-12T13:37:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T07:46:32.000Z (over 3 years ago)
- Last Synced: 2025-08-16T03:43:49.317Z (10 months ago)
- Language: C#
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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