diff --git a/src/Wpf.Ui.Test/MainWindow.xaml b/src/Wpf.Ui.Test/MainWindow.xaml
index 35cd498..e921d08 100644
--- a/src/Wpf.Ui.Test/MainWindow.xaml
+++ b/src/Wpf.Ui.Test/MainWindow.xaml
@@ -481,6 +481,34 @@
CommandParameter="{Binding RelativeSource={RelativeSource Mode=Self}}"
Content="Error" />
+
+
+
+
+
+
+
diff --git a/src/Wpf.Ui.Test/MainWindow.xaml.cs b/src/Wpf.Ui.Test/MainWindow.xaml.cs
index 7f9b53c..83f01c9 100644
--- a/src/Wpf.Ui.Test/MainWindow.xaml.cs
+++ b/src/Wpf.Ui.Test/MainWindow.xaml.cs
@@ -111,4 +111,25 @@ private void ShowMessageBox(Button self)
MessageBox.Error("This is a error message");
}
}
+
+ [RelayCommand]
+ private async Task AsyncShowMessageBoxAsync(Button self)
+ {
+ if (self.Content.ToString() == "Information")
+ {
+ await MessageBox.InformationAsync("This is a information message");
+ }
+ else if (self.Content.ToString() == "Warning")
+ {
+ await MessageBox.WarningAsync("This is a warning message");
+ }
+ else if (self.Content.ToString() == "Question")
+ {
+ await MessageBox.QuestionAsync("This is a question and do you want to click OK?");
+ }
+ else if (self.Content.ToString() == "Error")
+ {
+ await MessageBox.ErrorAsync("This is a error message");
+ }
+ }
}
diff --git a/src/Wpf.Ui.Violeta/Controls/MessageBox/MessageBoxDialog.xaml b/src/Wpf.Ui.Violeta/Controls/MessageBox/MessageBoxDialog.xaml
index 4c6fea3..46540f4 100644
--- a/src/Wpf.Ui.Violeta/Controls/MessageBox/MessageBoxDialog.xaml
+++ b/src/Wpf.Ui.Violeta/Controls/MessageBox/MessageBoxDialog.xaml
@@ -24,6 +24,7 @@
0,0,0,12
24
8
+
pack://application:,,,/Wpf.Ui.Violeta;component/Resources/Fonts/Segoe Fluent Icons.ttf#Segoe Fluent Icons