ObservableCollectionExtensions.ToBindingList<T> Method (ObservableCollection<T>)
Returns an BindingList<T> implementation that stays in sync with the given ObservableCollection<T>.
Assembly: EntityFramework (in EntityFramework.dll)
public static BindingList<T> ToBindingList<T>( this ObservableCollection<T> source ) where T : class
Parameters
- source
-
Type:
System.Collections.ObjectModel.ObservableCollection<T>
The collection that the binding list will stay in sync with.
Type Parameters
- T
The element type.