Warning - new to Silverlight / RIA Services / etc.
I have a business requirement to show a DataForm with a single record. In nearly all the examples on the net the dataform is tied to a datagrid on the selecteditem property.
In my case, the form has no grid to tie to.
I know that I'm retrieving data with my ViewModel, but I need a call back to know when the data has arrived in order for the data form to "re-bind" (Winform speak!). I am also NOT using the DomainDataSource, as I would like to keep everything behind the ViewModel.
I created a CurrentXXXX property, which can only be set after the data arrives.
There is a IsLoading property, but when do you know that data has arrived in the ViewModel? How do you get the View to rebind?
If your VM implements INotifyPropertyChanged (which it should) then you don't need to rebind as the VM will use this to notify the View that it's changed.