Any reason why PresentationTraceSources.TraceLevel=High would not print any info to the output window?

后端 未结 2 437
你的背包
你的背包 2020-12-28 16:23

I\'ve been trying to get to the bottom of an issue with binding the SelectedItem of my ComboBox and since I\'ve had not success thusfar I started looking at ways to get more

相关标签:
2条回答
  • 2020-12-28 16:54

    It's a setting in the Visual Studio 2010:

    Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding -> set to Warning (or whatever you like).

    Standard was Off.

    This solution worked for me.

    0 讨论(0)
  • 2020-12-28 16:59

    Make sure that your DataContext is not null. If it is, no information will be logged to the output window

    0 讨论(0)
提交回复
热议问题