For applying a theme to the window at design time, it is necessary to set the ThemeManager’s ThemeName property for the window.
For changing the current theme at runtime, you can also use the ThemeManager.SetTheme method or set the ThemeManager.ApplicationThemeName property. The ThemeManager.SetTheme method allows you to apply a theme to any visual element, and the ThemeManager.ApplicationThemeName property applies the theme to the entire application.