public BindingErrorListener()
 {
     traceListener = new ObservableTraceListener();
     PresentationTraceSources.DataBindingSource.Switch.Level = SourceLevels.Error;
     PresentationTraceSources.DataBindingSource.Listeners.Add(traceListener);
 }
 public BindingErrorListener()
 {
     traceListener = new ObservableTraceListener();
     PresentationTraceSources.DataBindingSource.Switch.Level = SourceLevels.Error;
     PresentationTraceSources.DataBindingSource.Listeners.Add(traceListener);
 }