diff --git a/source/Components/AvalonDock/Controls/LayoutAutoHideWindowControl.cs b/source/Components/AvalonDock/Controls/LayoutAutoHideWindowControl.cs index e5c876a2..878cf283 100644 --- a/source/Components/AvalonDock/Controls/LayoutAutoHideWindowControl.cs +++ b/source/Components/AvalonDock/Controls/LayoutAutoHideWindowControl.cs @@ -13,6 +13,7 @@ This program is provided to you under the terms of the Microsoft Public using System.Linq; using System.Runtime.InteropServices; using System.Windows; +using System.Windows.Automation; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Input; @@ -167,7 +168,7 @@ protected override HandleRef BuildWindowCore(HandleRef hwndParent) Height = 0, }) { RootVisual = _internalHostPresenter }; - + AutomationProperties.SetName(_internalHostPresenter, "InternalWindowHost"); AddLogicalChild(_internalHostPresenter); Win32Helper.BringWindowToTop(_internalHwndSource.Handle); return new HandleRef(this, _internalHwndSource.Handle); @@ -418,4 +419,4 @@ private void OnResizerDragStarted(object sender, System.Windows.Controls.Primiti #endregion Private Methods } -} \ No newline at end of file +}