Rabu, 30 Maret 2011

Why should I use ObjectDataProvider?

There are many ways to instantiate an object that will be used as the data source for bindings. I have seen many people create the object in code and set the DataContext of the Window to that instance, which is a good way to do this. You may have noticed that I have been adding the source object to the Window’s Resource Dictionary in most of my previous posts, which works well too. We have an

Tidak ada komentar:

Posting Komentar