diff --git a/MainWindow.xaml b/MainWindow.xaml index 39a0939..0dda7d2 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -1,5 +1,4 @@ - - SetProperty(value, SetTheme); } + public int WindowWidth + { + get => GetProperty(1200); + set => SetProperty(value); + } + + public int WindowHeight + { + get => GetProperty(600); + set => SetProperty(value); + } + private static void SetTheme(ThemeMode themeMode) { ThemeManager.Current.ApplicationTheme = themeMode switch