public MainWindow() { InitializeComponent(); DataContext = ShellViewModel.Instance; KeyBindings.AddRange(IoC.Get <ShellViewModel>().KeyBindings); this.AttachDevTools(); }
public ShellView() { InitializeComponent(); DataContext = ShellViewModel.Instance; ShellViewModel.Instance.Overlay = this.FindControl <Panel>("PART_ExtensibleOverlay"); KeyBindings.AddRange(ShellViewModel.Instance.KeyBindings); ColorTheme.LoadTheme(ColorTheme.VisualStudioLight); }
public ShellView() { InitializeComponent(); DataContext = ShellViewModel.Instance; ShellViewModel.Instance.Overlay = this.FindControl <Panel>("PART_ExtensibleOverlay"); KeyBindings.AddRange(ShellViewModel.Instance.KeyBindings); var generalSettings = Settings.GetSettings <GeneralSettings>(); ColorTheme.LoadTheme(generalSettings.Theme); }
public MainWindow() { InitializeComponent(); DataContext = ShellViewModel.Instance; KeyBindings.AddRange(ShellViewModel.Instance.KeyBindings); var generalSettings = Settings.GetSettings <GeneralSettings>(); ColorTheme.LoadTheme(generalSettings.Theme); this.AttachDevTools(); }