12345678910111213141516171819202122232425262728293031323334 |
- using Syncfusion.Windows.Shared;
- using System.Windows;
- using InABox.WPF.Themes;
- namespace InABox.Wpf
- {
- /// <summary>
- /// Provides a window which understands the theming system and applies it automatically.
- /// </summary>
- /// <remarks>
- /// We should use this guy for all our windows.
- /// </remarks>
- public class ThemableWindow : Window
- {
- public ThemableWindow() : base()
- {
- Background = ThemeManager.WorkspaceBackgroundBrush;
- }
- }
- /// <summary>
- /// Provides a window which understands the theming system and applies it automatically.
- /// </summary>
- /// <remarks>
- /// We should use this guy for all our chromeless windows.
- /// </remarks>
- public class ThemableChromelessWindow : ChromelessWindow
- {
- public ThemableChromelessWindow() : base()
- {
- Background = ThemeManager.WorkspaceBackgroundBrush;
- }
- }
- }
|