From 75f704a98626ce1b555aec121624fff84acaebdf Mon Sep 17 00:00:00 2001 From: Dirkster99 Date: Wed, 25 Mar 2020 19:02:16 +0100 Subject: [PATCH] Fixing Issue #137 for VS 2013 Teme --- .../Themes/Generic.xaml | 29 +++++++++++++------ .../Controls/LayoutDocumentControl.cs | 2 ++ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml b/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml index f91cd372..80c95132 100644 --- a/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml +++ b/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml @@ -1759,10 +1759,11 @@ + - + @@ -1819,8 +1820,8 @@ - - + + @@ -1828,27 +1829,32 @@ + - + + + - + + + - + @@ -1857,27 +1863,32 @@ + - + + + - + + + - + diff --git a/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs b/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs index 97b88577..f30c0422 100644 --- a/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs +++ b/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs @@ -8,6 +8,7 @@ This program is provided to you under the terms of the Microsoft Public ************************************************************************/ using System.ComponentModel; +using System.Diagnostics; using System.Windows; using System.Windows.Controls; using System.Windows.Input; @@ -108,6 +109,7 @@ private void Model_PropertyChanged(object sender, PropertyChangedEventArgs e) /// protected override void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) { + Debug.WriteLine("OnPreviewGotKeyboardFocus: " + LayoutItem.ContentId); SetIsActive(); base.OnPreviewGotKeyboardFocus(e); }