By Ben Hayat - 3/13/2007
TO SF Team:
Is there any possibility that ObservableCollection can be implemented as part of BO anytime soon?
Info: http://msdn2.microsoft.com/en-us/library/ms668604.aspx
I understand support for WPF is planned in SF 2.x, but as interim, it seems like the current SF can be utilized by adding a few supporting functions.
Thank you in advance!
|
By StrataFrame Team - 3/13/2007
The ObservableCollection is much like System.Collections.CollectionBase... it just provides a base class for the collection and also implements the INotifyCollectionChanged interface. It will not be possible for us to change the inheritance structure of the BusinessLayer class to include the ObservableCollection. However, we don't have to... all we need is to implement the INotifyCollectionChanged interface, which we already do through the IBindingListView implementation on the BusinessBindingSource. So, as it stands, you can wrap a business object within a BBS and use it as the data source for any WPF control or grid, like the Infragistics xamGrid (I think that's what it's called... not positive).
|
By Ben Hayat - 3/13/2007
Thanks for speedy response Ben!
I think the approach you offered should work fine. It's nice to see you guys are on the top of WPF development. i.e. the name of infragistics xamDataGrid.
Thanks!
|
|