Iftieaq
Iftieaq

Reputation: 1964

Strange black box appearing in wpf application

enter image description here

Hi!

I am new in wpf application development. I just create a demo application and I see that the black box appearing in the top of my application. Can anyone tell me how can I remove this ?

I am sorry, I don't even know the name of it.

Upvotes: 75

Views: 25060

Answers (3)

Aech
Aech

Reputation: 61

As the others have said it is a UI Debugger and can be very helpful. You don't need to go to the options menu to disable this though. There is a button that toggles it on and off in the Live Visual Tree tab.
See image UI Debugger toggle - visual studio

Upvotes: 6

Petr Vávro
Petr Vávro

Reputation: 1516

This is a new feature as of VS 2015 Update 2 XAML Diagnostics. This shows up only if you are debugging the application.

If you really need to disable this, there's an option in the Tools > Options > Debugging > General - Enable UI Debugging Tools for XAML > Show runtime tools in application

XAML UI runtime tools options

Upvotes: 110

Dennis
Dennis

Reputation: 37770

This is new (and, actually, useful) feature in VS 2015 Update 2 (In-App Menu). It allows you to pick visuals directly from the screen and switch to visual tree viewer (see "Live Visual Tree" toolbox).

It affects debug mode only.

Upvotes: 13

Related Questions