English 中文(简体)
未在产出窗口上显示的有约束力的错误
原标题:Binding errors not showing on output window
  • 时间:2012-01-13 11:52:14
  •  标签:
  • wpf
  • binding

我的产出窗口没有显示我的项目有约束力的错误。 然而,在同事机器上,产出窗口中出现了具有约束力的错误。

关于如何在我机器上转机的任何想法(源码在两台机器上都是一样的,因此我猜测这台机器是民主选举学会的一个环境)。

问题回答

提 出

Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding

我也存在同样的问题,并做了适当的改动(图勒-和;备选办法-和; De-和;产出温得-和;世界森林基金追踪情况-和;数据包),我仍然无法看到任何数据集束问题。 我在《应用法》中发现这个问题。

System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level = System.Diagnostics.SourceLevels.Critical;

这一选择显然超出了我在备选办法菜单中所处的环境。

如果以下解决办法不利于你:

工具-> Options -> Debugging -> Output Window -> WPF 追查地点-> 数据约束

要求正确点击输出窗口的输出区,并选择你想要的所有产出信息,特别是方案产出选择。

“所有产出信息”/

在有些情况下,先令例外通知在即时窗口上张贴。

Toggle first-chance protocol in the Immediatewind On the View menu, 点击其他Windows, 点击产出。

Right-click on the text area of the Output window, and select or deselect Exception Messages.





相关问题
WPF convert 2d mouse click into 3d space

I have several geometry meshes in my Viewport3D, these have bounds of (w:1800, h:500, d:25). When a user clicks in the middle of the mesh, I want the Point3D of (900, 500, 25)... How can I achieve ...

Editing a xaml icons or images

Is it possible to edit a xaml icons or images in the expression design or using other tools? Is it possible to import a xaml images (that e.g you have exported) in the expression designer for editing?...

WPF: writing smoke tests using ViewModels

I am considering to write smoke tests for our WPF application. The question that I am faced is: should we use UI automation( or some other technology that creates a UI script), or is it good enough to ...

WPF - MVVM - NHibernate Validation

Im facing a bit of an issue when trying to validate a decimal property on domain object which is bound to a textbox on the view through the viewmodel. I am using NHibernate to decorate my property on ...

How do WPF Markup Extensions raise compile errors?

Certain markup extensions raise compile errors. For example StaticExtension (x:Static) raises a compile error if the referenced class cannot be found. Anyone know the mechanism for this? Is it baked ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签