www.
EMoreau
.com
Main page
|
Moer inc.
|
About me
|
Contact
Moer and Éric Moreau's web site
Thursday, April 18, 2024
Search
Go
Articles
2020 (11)
2019 (12)
2018 (11)
2017 (11)
2016 (12)
2015 (12)
2014 (12)
2013 (12)
2012 (12)
2011 (12)
2010 (12)
2009 (12)
2008 (12)
2007 (12)
2006 (12)
2005 (12)
2004 (12)
2003 (12)
Blog Archives
2020 (3)
2019 (3)
2018 (3)
2017 (15)
2016 (18)
2015 (34)
2014 (25)
2013 (24)
2012 (46)
2011 (37)
2010 (47)
2009 (66)
2008 (105)
2007 (67)
How to easily detect binding errors in WPF?
Monday, March 9, 2015
Print this page
If you ever tried WPF (and Silverlight had the same issue) and had any kind of error in your binding, you know that it just fail silently. Of course you get a warning in your Output window but are you always looking there to see if something went wrong? I don't! After I lost some time yesterday digging for an error that was finally only a typo in a command name, I started looking around for an easier way of debugging binding errors. I found one that just shows a message box on the screen whenever a binding error occurs. In fact, it is just a listener filtering only for binding events. So far, I have to say that I rather have a message box showing me that I mistyped the command name rather than searching for almost an hour. This little gem can be downloaded from http://tech.pro/tutorial/940/wpf-snippet-detecting-binding-errors
Share this post:
Email it!
Posted by
Eric
Comments