Reputation: 10995
The title of the question is bad, feel free to update it.
I have an observablecollection that generates a user control whenever it an item has been added to it. However there are times where I just want to add to the collection and not have it create a usercontrol. Is there a way around this problem? Thanks.
Upvotes: 3
Views: 655
Reputation: 8503
Create a collection view around the observable collection and bind the UI to that. The collection view will have a filter so that only items you want in the UI are filtered in
Upvotes: 2