"Convert to property with backing field" does not recognize Code style settings

2 posts, 0 answers
  1. Matthias Bibo
    Matthias Bibo avatar
    71 posts
    Member since:
    Mar 2010

    Posted 17 Jul 2012 Link to this post


    the JC function "Convert to property with backing field" is really good and I use it quite often,

    but it does not recognize the Code style settings "Use 'this' qualifier....".

    This is annoying, because we check our code with stylecop and want a this qualifier where it has to be.

    So I enabled it in the settings, but the setting is ignored.

    PS: Another feature suggestion for this function.

    I mostly need to convert the Property to a property with backing field when a property changed notification is required and I have to add it manually. Perhaps the function could be improved in this way (by an option) that when the class implement INotifyPropertyChanged, a code piece like this

    if (this.PropertyChanged != null)
                    this.PropertyChanged(this, new PropertyChangedEventArgs("<propertyName>"));

    is added to the property, or the property modification could be based on a code/snippet from Visual Studio.

    Best Regards,


  2. Ivan
    Ivan avatar
    106 posts

    Posted 17 Jul 2012 Link to this post


    Thank you for your feedback. I reviewed it and was able to reproduce your issue. It's already fixed and the fix will most probably be included after our SP release.
    As for your feature request - we will consider implementing it.
    Thank you for your help!

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top