Our great sponsors
-
Microsoft Research Detours Package
Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
1. XAML Diagnostics API (Recommended): This is what Visual Studio uses for its Live Visual Tree feature. You can find the docs of that API here (not that this is a rejected PR to improve the original docs, the original docs are incomplete and doesn't describe how to use the API). note: this API works reliably with the XAML taskbar rewrite (recent insider builds) but needs a workaround (moving a taskbar item) to work within the original XAML taskbar (latest stable build as of now)
3. Manual hooking (Not recommended): It's possible to use some hooking library like Microsoft Detours to hook the functions responsible for creating the UI layout. I highly unrecommend this method as it's the most method prone to be broken by any change Microsoft does.