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

C#Visual StudioXamlWindows RuntimeWin Universal-App

C# Problem Overview


How do I remove the box with the 3 icons when debugging?

enter image description here

C# Solutions


Solution 1 - C#

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

Screenshot

Solution 2 - C#

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

Solution 3 - C#

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

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionispiroView Question on Stackoverflow
Solution 1 - C#Eldar DordzhievView Answer on Stackoverflow
Solution 2 - C#Plac3Hold3rView Answer on Stackoverflow
Solution 3 - C#ispiroView Answer on Stackoverflow