Is there a good tool for debugging XAML's databinding behavior / errors at runtime?

前端 未结 4 2177
滥情空心
滥情空心 2020-12-13 19:12

WPF is a great toolset, and XAML databinding is very powerful, but I\'ve often run into difficulty arising from its transparency: It can be tough to debug a databinding fail

4条回答
  •  情话喂你
    2020-12-13 19:39

    You can use PresentationTraceSources.TraceLevel attached property on bindings to get detailed logging in the output during runtime.

    In your case, it will look like this:

    
        
    
    

提交回复
热议问题