When I run my WPF application, I get lots of binding expression errors showing in Output window. But each error message does not tell me which view (.xaml) file has the error. For example, the error below does not tell me:
System.Windows.Data Error: 40 : System.Windows.Data Error: 40 :
BindingExpression path error: 'IsVisible' property not found on 'object'
''PrescriptionViewModel' (HashCode=9677327)'. BindingExpression:Path=IsVisible;
DataItem='PrescriptionViewModel' (HashCode=9677327); target element is
'ViewPortContentPanel' (Name=''); target property is 'Visibility'
(type 'Visibility')
Is there a way to figure this out. My element ViewPortContentPanel is used in dozens of views in my application, herein lies the problem of finding it.
Thanks!