wpf 从任何窗口中删除“黑条”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/37426046/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 13:49:31  来源:igfitidea点击:

Remove 'Black Bar' From Any Window

c#wpf

提问by Jishan

So whenever I try and run any WPF application in Visual Studio 2015, this black box thingy appears:

因此,每当我尝试在 Visual Studio 2015 中运行任何 WPF 应用程序时,都会出现这个黑框:

enter image description here

在此处输入图片说明

Here's what the icons say:

以下是图标的含义:

enter image description hereenter image description hereenter image description here

在此处输入图片说明在此处输入图片说明在此处输入图片说明

How do I get rid of it? Thanks.

我该如何摆脱它?谢谢。

采纳答案by Matt

You're looking at the UI Debugger, which lets you do similar things as Snoop, which is also an excellent tool that has saved me a lot of trouble in the past.

您正在查看UI Debugger,它可以让您做与Snoop类似的事情,这也是一个出色的工具,它在过去为我省去了很多麻烦。

That being said, you have two options to disable it:

话虽如此,您有两个选项可以禁用它:

  1. Detach the debugger, or run without debugging
  2. See the answers in this post
  1. 分离调试器,或在不调试的情况下运行
  2. 看到这篇文章中答案