Wire up settings

This commit is contained in:
TheXamlGuy
2024-02-05 22:01:05 +00:00
parent 43f96fd4f0
commit 28d79f77d0
7 changed files with 62 additions and 22 deletions
+5
View File
@@ -10,6 +10,11 @@ public class WindowHandler :
{
if (args.Template is Window window)
{
if (window.Content is FrameworkElement frameworkElement)
{
frameworkElement.DataContext = args.Content;
}
window.Activate();
}