Structuring Objects for Use by Data Entry Forms

To create effective data entry forms, you should do a few things to make your objects friendlier to the user interface controls that will bind to them. RIA Services entities automatically implement these features by default, but if you are binding to objects whose classes are defined on the client, such as a ViewModel when using the MVVM design pattern discussed in Chapter 13, or you're simply not using RIA Services at all, you will need to implement these features manually. Let's take a look at the most important features you should add to your objects for the benefit of the user interface.

Implementing the INotifyPropertyChanged Interface

One of the key interfaces that your objects should implement ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.