奇怪的黑盒子出现在WPF应用程序 [英] Strange black box appearing in wpf application
问题描述
你好!
我在WPF应用程序开发的新。我只是创建一个演示应用程序,我看到在我的应用程序的顶部出现的黑盒子。谁能告诉我怎样才能去掉呢?
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.
推荐答案
这是一个新的功能,因为VS 2015 Update 2的 XAML诊断。
这说明了只有当你正在调试应用程序。
This is a new feature as of VS 2015 Update 2 XAML Diagnostics. This shows up only if you are debugging the application.
如果你真的需要禁用它,有一个在选项>调试>常规选项 - 启用XAML UI调试工具>应用程序显示运行时工具
If you really need to disable this, there's an option in the Options > Debugging > General - Enable UI Debugging Tools for XAML > Show runtime tools in application
这篇关于奇怪的黑盒子出现在WPF应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!