如何在调试时删除 "Go to live visual tree" / "Enable selection" / "Display layout adorners" 覆盖?

How to remove the "Go to live visual tree" / "Enable selection" / "Display layout adorners" overlay when debugging?

如何在调试时删除带有 3 个图标的框?

只需取消选中 Tools -> Options -> Debugging -> General -> Enable UI Debugging Tools for XAML -> Show runtime tools in application

只需取消选中 "Show runtime tools in application"

可以在“实时可视化树”窗格上的切换按钮中找到更快的替代方法。

它已在 VS2022 中移至工具 -> 此处进行调试: