Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 644
Iftieaq Avatar asked Apr 07 '16 06:04

Iftieaq


People also ask

Is WPF used anymore?

WPF is still one of the most used app frameworks in use on Windows (right behind WinForms).

What is code behind WPF?

Code-behind is a term used to describe the code that is joined with markup-defined objects, when a XAML page is markup-compiled. This topic describes requirements for code-behind as well as an alternative inline code mechanism for code in XAML.

What is Snoop WPF?

Snoop is an open source tool for spying and debugging a running WPF application. It can be used to inspect your running application and make changes while your app is still running. I've found it to be very useful for finding missing bindings and tweaking layout parameters when you can't use Designer.

Is WPF still relevant 2022?

“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.


1 Answers

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

like image 99
Petr Vávro Avatar answered Sep 19 '22 06:09

Petr Vávro