Top "Observablecollection" questions

ObservableCollection is a .NET collection class that sends event notifications when items are added, removed, replaced, moved, or reordered in the collection, or when the entire contents of the collection are replaced.

Sorting ObservableCollection

Suppose I have ObservableCollection of employee class public ObservableCollection<Employee> employeeCollection = new ObservableCollection<Employee>(); public class …

c# .net wpf sorting observablecollection
WPF: How do I hook into a ListView's ItemsSource CollectionChanged notification?

I have a ListView that is databound to an ObservableCollection ... <ListView x:Name="List1" ItemsSource="{Binding MyList}" /> I …

wpf listview observablecollection itemssource inotifycollectionchanged
Asynchronously adding to ObservableCollection (or an alternative)

Here's what I have - a ListBox with an ItemsSource set to a ObservableCollection<T> - where T …

c# .net wpf data-binding observablecollection
How to bind items of a TabControl to an observable collection in wpf?

What is the simplest example of binding the items of a TabControl to an ObservableCollection? Each tab's content will have …

wpf data-binding mvvm tabcontrol observablecollection
WPF Grouping with a Collection using MVVM

I am new to both WPF and MVVM so I will beg forgiveness upfront if this is a silly question. …

c# .net wpf mvvm observablecollection
Why does ObservableCollection not support bulk changes?

What are the potential problems caused by an ObservableCollection supporting operations like AddRange or RemoveRange? There must be a reason …

c# wpf observablecollection
How to add thousands of items to a binded collection without locking GUI

I have a setup where potentially thousands of items (think 3000-5000) will be added to an ObservableCollection that is binded …

c# wpf performance observablecollection
How do I execute a foreach lambda expression on ObservableCollection<T>?

How do I execute a foreach lambda expression on ObservableCollection<T>? There is not method of foreach with …

c# silverlight observablecollection
WPF: Xaml, create an observable collection<object> in xaml in .NET 4.0

the web site says you can in .NET 4.0 I cant seem to do it though, what assesmbly references and xmlns' …

wpf xaml .net-4.0 observablecollection
Observable Collection Notify when property changed in MVVM

I am trying to bind observable collection to DataGrid, i want to notify when any row is edited in datagrid. …

mvvm observablecollection inotifypropertychanged inotifycollectionchanged