diff --git a/WindowExample/MainWindow.xaml b/WindowExample/MainWindow.xaml
index fb1de52f..b6cf7a35 100644
--- a/WindowExample/MainWindow.xaml
+++ b/WindowExample/MainWindow.xaml
@@ -35,6 +35,7 @@
+
@@ -54,20 +55,29 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/WindowExample/MainWindow.xaml.cs b/WindowExample/MainWindow.xaml.cs
index e5cdc63a..7f190080 100644
--- a/WindowExample/MainWindow.xaml.cs
+++ b/WindowExample/MainWindow.xaml.cs
@@ -123,5 +123,21 @@ private void TitleBarButtonAvailabilitySelector_SelectionChanged(object sender,
}
}
}
+
+ private void RadioButton_CornerStyle_Click(object sender, RoutedEventArgs e)
+ {
+ if (sender is RadioButton btn && btn.Content is string val)
+ {
+ try
+ {
+ WindowHelper.SetCornerStyle(this, (WindowCornerStyle)Enum.Parse(typeof(WindowCornerStyle), val));
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show(ex.ToString());
+ }
+ }
+
+ }
}
}
\ No newline at end of file