MessageBox.Avalonia 0.9.0-preview5

This is a prerelease version of MessageBox.Avalonia.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MessageBox.Avalonia --version 0.9.0-preview5                
NuGet\Install-Package MessageBox.Avalonia -Version 0.9.0-preview5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MessageBox.Avalonia" Version="0.9.0-preview5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MessageBox.Avalonia --version 0.9.0-preview5                
#r "nuget: MessageBox.Avalonia, 0.9.0-preview5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MessageBox.Avalonia as a Cake Addin
#addin nuget:?package=MessageBox.Avalonia&version=0.9.0-preview5&prerelease

// Install MessageBox.Avalonia as a Cake Tool
#tool nuget:?package=MessageBox.Avalonia&version=0.9.0-preview5&prerelease                

MessageBox.Avalonia

Messagebox for AvaloniaUI for 0.9 preview

alternate text is missing from this package README image

To start you should install MessageBox.Avalonia Nuget package

dotnet add package MessageBox.Avalonia

nuget or download this repo.

wiki - here you can find all Api.

The easiest way is:

alternate text is missing from this package README image

var messageBoxStandardWindow = MessageBox.Avalonia.MessageBoxManager.GetMessageBoxStandardWindow("title","orem ipsum dolor sit amet, consectetur adipiscing elit, sed...");
messageBoxStandardWindow.Show();

or this with defautlt buttons from enum:

alternate text is missing from this package README image

            var msBoxStandardWindow = MessageBox.Avalonia.MessageBoxManager.GetMessageBoxStandardWindow(new MessageBoxStandardParams{
                ButtonDefinitions = ButtonEnum.OkAbort,
                ContentTitle = "Title",
                ContentMessage = "Message",
                Icon = Icon.Plus,
                Style = Style.UbuntuLinux
            });
            msBoxStandardWindow.Show();

or like this, with custom buttons:

alternate text is missing from this package README image

            var messageBoxCustomWindow = MessageBox.Avalonia.MessageBoxManager.GetMessageBoxCustomWindow(new MessageBoxCustomParams {
                Style = Style.UbuntuLinux,
                ContentMessage = "Message",
                ButtonDefinitions = new []{new ButtonDefinition{Name = "My"},new ButtonDefinition{Name = "Buttons",Type = ButtonType.Colored} }
            });
            messageBoxCustomWindow.Show();

Usages:

Lacmus

OpenTabletDriver

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on MessageBox.Avalonia:

Package Downloads
VisioForge.DotNet.Core.UI.Avalonia

VisioForge Controls UI Wrappers for Avalonia

H.ReactiveUI.CommonInteractions.Avalonia

Common ReactiveUI MVVM Level Interactions(like open/save file) for WPF/UWP/WinUI/Uno/Avalonia platforms ⭐ Last 10 features: - feat: Updated NuGet packages. 2022-08-11 - feat: Updated NuGet packages. 2022-07-11 - feat: Published WebAssembly app. 2022-07-01 - feat: Updated NuGet packages. 2022-07-01 - feat: To DependencyPropertyGenerator. 2022-06-29 - feat: Updated NuGet packages. 2022-06-29 - feat: Added BaseConverter DefaultConvertValue/DefaultConvertBackValue. 2022-06-24 - feat: Updated NuGet packages. 2022-03-25 - feat: Updated NuGet packages. 2022-03-17 - feat: Changed WinUI implementatation to use ContentDialog instead MessageDialog. 2022-03-17 🐞 Last 10 bug fixes: - fix: To WinRT.Interop. 2022-07-14 - fix: Disabled linker. 2022-07-01 - fix: Fixed Uno targets. 2022-03-18 - fix: Fixed missing Warning ContentDialog. 2022-03-17 - fix(apps): Fixed Uno.WinUI webassembly app. 2022-01-19 - fix: Fixed package description. 2021-12-22 - fix(Avalonia): Changed BaseConverter null values to UnsetValue. 2021-12-15 - fix(Avalonia): Fixed OpenFileDialog Filters bug. 2021-12-11 - fix: Fixed CI to release avalonia. 2021-12-10 - fix(apps.Avalonia): Fixed FileInteractions. 2021-12-09

KH.AvaloniaBase

InstrumentBaseLib

AlienJust.Support.Avalonia

Some stuff for Avalonia

HanumanInstitute.MvvmDialogs.Avalonia.MessageBox

Library simplifying the concept of opening dialogs from a view model when using MVVM in WPF

GitHub repositories (32)

Showing the top 5 popular GitHub repositories that depend on MessageBox.Avalonia:

Repository Stars
2dust/v2rayN
A GUI client for Windows and Linux, support Xray core and sing-box-core and others
mgth/LittleBigMouse
DPI Aware mouse move across screens
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software
tylearymf/UniHacker
Patch all versions of Unity3D and UnityHub for Windows, MacOS, Linux and Docker.
uxmal/reko
Reko is a binary decompiler.
Version Downloads Last updated
3.2.0 25,840 10/27/2024
3.1.6.13 11,108 10/6/2024
3.1.6 31,096 7/30/2024
3.1.5.1 125,037 10/24/2023
3.1.5 2,172 10/24/2023
3.1.4 42,960 8/13/2023
3.1.3 5,422 8/6/2023
3.1.2 13,162 7/29/2023
3.0.0 13,147 7/8/2023
2.3.1-rc2 458 7/2/2023
2.3.1-rc1-1 495 6/27/2023
2.3.1-rc1 3,592 6/5/2023
2.3.1-prev7.0 8,589 5/5/2023
2.3.1-prev6 3,167 3/30/2023
2.3.1-prev5 4,002 2/13/2023
2.3.1-prev2 8,011 10/18/2022
2.2.0 11,769 9/1/2022
2.1.0 111,663 8/21/2022
2.1.0-prev2 997 10/17/2022
2.0.2 20,042 7/17/2022
2.0.1 9,410 6/13/2022
2.0.0 114,285 3/16/2022
1.8.1-night 2,141 2/13/2022
1.7.1 35,610 12/12/2021
1.7.0 2,649 12/7/2021
1.6.0 2,295 12/1/2021
1.5.5 6,132 10/22/2021
1.5.4 1,249 10/22/2021
1.5.3 2,355 10/10/2021
1.5.2 1,291 10/10/2021
1.5.1 12,606 6/17/2021
1.5.0 2,225 6/12/2021
1.3.1 2,394 5/22/2021
1.3.0 1,390 5/20/2021
1.2.0 5,029 4/29/2021
1.1.1 8,184 3/15/2021
1.1.0 1,422 3/14/2021
1.0.6 3,724 3/10/2021
1.0.5 8,510 2/2/2021
1.0.4 1,365 1/31/2021
1.0.3 1,565 1/31/2021
1.0.1 3,092 1/24/2021
0.10.7-rc1 1,897 12/16/2020
0.10.4-night 1,300 11/1/2020
0.10.3-night 1,269 11/1/2020
0.10.2-night 1,273 10/1/2020
0.10.1-night 1,345 9/27/2020
0.10.0-prev2 3,728 8/1/2020
0.10.0-prev1 1,587 7/26/2020
0.9.6.1 58,415 3/31/2020
0.9.1.1-prev 2,835 1/31/2020
0.9.0.1-prev 1,352 1/24/2020
0.9.0 5,599 12/22/2019
0.9.0-preview5 1,818 11/7/2019 0.9.0-preview5 is deprecated because it is no longer maintained.
0.8.3 8,062 8/23/2019 0.8.3 is deprecated because it is no longer maintained.
0.8.2.5 1,677 6/19/2019 0.8.2.5 is deprecated because it is no longer maintained.
0.8.2 1,682 6/12/2019 0.8.2 is deprecated because it is no longer maintained.
0.8.1 1,805 5/31/2019 0.8.1 is deprecated because it is no longer maintained.