(object sender, RoutedEventArgs e)
| 34 | } |
| 35 | |
| 36 | private void ThemeButtonClick(object sender, RoutedEventArgs e) |
| 37 | { |
| 38 | var tm = ThemeManager.Current; |
| 39 | var isLight = tm.ApplicationTheme == null |
| 40 | ? tm.ActualApplicationTheme == ApplicationTheme.Light |
| 41 | : tm.ApplicationTheme == ApplicationTheme.Light; |
| 42 | |
| 43 | tm.ApplicationTheme = isLight |
| 44 | ? ApplicationTheme.Dark |
| 45 | : ApplicationTheme.Light; |
| 46 | } |
| 47 | |
| 48 | protected override void OnSourceInitialized(EventArgs e) |
| 49 | { |
nothing calls this directly
no outgoing calls
no test coverage detected