System.ComponentModel.BindingList<T>
public class BindingList<T> : Collection<T>, ICollection, IEnumerable, IList, IBindingList, ICancelAddNew, IRaiseItemChangedEvents
namespace System.ComponentModel
{
public class BindingList<T> : Collection<T>, ICollection, IEnumerable, IList, IBindingList, ICancelAddNew, IRaiseItemChangedEvents
{
public bool AllowEdit { get; set; }
public bool AllowNew { get; set; }
public bool AllowRemove { get; set; }
protected virtual bool IsSortedCore { get; }
public bool RaiseListChangedEvents { get; set; }
protected virtual ListSortDirection SortDirectionCore { get; }
protected virtual PropertyDescriptor SortPropertyCore { get; }
protected virtual bool SupportsChangeNotificationCore { get; }
protected virtual bool SupportsSearchingCore { get; }
protected virtual bool SupportsSortingCore { get; }
public event AddingNewEventHandler AddingNew;
public event ListChangedEventHandler ListChanged;
public BindingList();
public BindingList(IList<T> list);
public T AddNew();
protected virtual object AddNewCore();
protected virtual void ApplySortCore(PropertyDescriptor prop, ListSortDirection direction);
public virtual void CancelNew(int itemIndex);
public virtual void EndNew(int itemIndex);
protected virtual int FindCore(PropertyDescriptor prop, object key);
protected virtual void OnAddingNew(AddingNewEventArgs e);
protected virtual void OnListChanged(ListChangedEventArgs e);
protected virtual void RemoveSortCore();
public void ResetBindings();
public void ResetItem(int position);
}
}