I'm trying to create some in app menu tool like the one "Visual Studio XAML Live Debugging" has
This menu is working bot for WPF and UWP, I did some researches how is done in VS. My findings are that VS uses "Microsoft.VisualStudio.DesignTools.WpfTap.dll" and "Microsoft.VisualStudio.DesignTools.UwpTap.dll" dll's form "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\XamlDiagnostics" for this functionality. The WPF case is pretty simple VS loads that dll to debugged process and creates separate window (HWND) for hosting this menu. But for UWP the things are a little bit complicated the VS also loads the UwpTap.dll to debugged process but in this case this menu is not separate window (HWND) I checked with Spy++. The UwpTap.dll contains InAppMenu XAML as resource (Checked with DotPeek ) and this XAML is used display menu content. My questions is how this Menu (XAML) is attached to UWP app CoreWindow but the app XAML tree not changed that mean there is some other technology ? How can I show such menu in any UWP app?. Could someone help me.