Blogs

Rory Becker - DevExpress CodeRush Blog

Community Callout: CodePlugIn_INotifyPropertyChanged

     

Yes, that ‘s right we’ve got another community plugin to shine a light on.

Brian Noyes has created CodePlugIn_INotifyPropertyChanged

The idea is to take a plain ordinary property, and augment it with additional code to support the INotifyPropertyChanged interface.

This is done by providing 2 additional CodeProviders (Convert to INPC Property and Convert to INPC Property Base Class Call) which are available from the Code menu when your caret is on a property.

Convert to INPC Property will happily change this…

INotifySimplePropertyStart

…into this…

INotifySimplePropertyEnd

If your class already inherits from NotificationObject then you’ll be able to use Convert to INPC Property Base Class Call to upgrade it from this…

NotificationObjectStart

…into this…

NotificationObjectEnd

For full details see The Wiki Page.

Published Sep 20 2011, 04:45 PM by Rory Becker - DevExpress
Bookmark and Share

Comments

No Comments
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.