调试时如何删除“转到实时可视化树”/“启用选择”/“显示布局装饰器”覆盖?

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

enter image description here

22693 次浏览

Just simply uncheck Tools -> Options -> Debugging -> General -> Enable UI Debugging Tools for XAML -> Show runtime tools in application.

Screenshot

Just uncheck "Show runtime tools in application"

Settings option to toggle

A quicker alternative can be found in a toggle on the Live Visual Tree pane.

Live Visual Tree pane toggle

It's moved in VS2022 to Tools -> Debugging here:

enter image description here