Need Better Exception

2 posts, 0 answers
  1. Brad
    Brad avatar
    9 posts
    Member since:
    Feb 2016

    Posted 17 Jan Link to this post

    When using a property grid, I have a DataTemplateSelector for properties that require my custom control to edit.  Upon initializing my control, I need a view model set, so I use AutoBindBehavior.UpdateBindingOnElementLoaded for that purpose.  Several times I have renamed a convenience setter for a property in my view model without renaming the corresponding dependency property, thus I was violating convention but nothing else.  Each time I did that, I would get a null reference exception.  I spent many hours trying to figure out what I did wrong.

    I would be SOOO helpful if the exception in this case said "unable to find dependency property X"  I would've know exactly what I did wrong...

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1201 posts

    Posted 18 Jan Link to this post


    Thank you for sharing this feedback. The suggested change looks like a minor, but very helpful change. We will do our best to include it in some of our future releases. 

    Ivan Ivanov
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top