ObservableCollection Implementation?


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
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!

..ßen
StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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).
Ben Hayat
Ben Hayat
Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
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!

..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search