这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -418,4 +419,4 @@ private void OnResizerDragStarted(object sender, System.Windows.Controls.Primiti

#endregion Private Methods
}
}
}