[This is preliminary documentation and is subject to change.]

The ListWithEventsBase type exposes the following members.

Methods

  NameDescription
Protected methodAddIndex
When overriden in derived class adds the PropertyDescriptor to the indexes used for searching.
Protected methodApplySort
When overriden in derived class sorts the list based on a PropertyDescriptor and a ListSortDirection.
Public methodClear
When overriden in derived class removes all items from the ListWithEvents<(Of <(<'T>)>)>.
Public methodContains
When overriden in derived class determines whether the IList contains a specific value.
Protected methodFind
When overriden in derived class returns the index of the row that has the given PropertyDescriptor.
Protected methodIBindingList_AddNew
When overriden in derived class adds a new item to the list.
Public methodICollection_CopyTo
When overriden in derived class copies the elements of the ICollection to an Array, starting at a particular Array index.
Public methodIEnumerable_GetEnumerator
When overriden in derived class returns an enumerator that iterates through a collection.
Public methodIList_Add
When overriden in derived class adds an item to the ListWithEvents<(Of <(<'T>)>)>.
Public methodIndexOf
When overriden in derived class determines the index of a specific item in the IList.
Public methodInsert
When overriden in derived class inserts an item to the IList at the specified index.
Protected methodLock
When overiden in derived class sets the Locked to True
Public methodLockAllowItemCancel
When overiden in derived class sets IsAllowItemCancelLocked, so AllowItemCancel can no longer be changed.
Protected methodOnChanged
Raises the Changed event
Protected methodOnINotifyCollectionChanged_CollectionChanged
Protected methodOnListChanged
Raises the ListChanged event
Protected methodOnPropertyCnaged
Raises the PropertyChanged()()()() event
Public methodRemove
When overriden in derived class removes the first occurrence of a specific object from the IList.
Public methodRemoveAt
When overriden in derived class removes the ListWithEvents<(Of <(<'T>)>)> item at the specified index.
Protected methodRemoveIndex
When overriden in derived class removes the PropertyDescriptor from the indexes used for searching.
Protected methodRemoveSort
When overriden in derived class removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
Public methodToArray1
When overiden in derived class copies all elements of this collection to new Array
Protected methodUnlock
When overiden in derived class sets the Locked to False

Extension Methods

  NameDescription
Public Extension MethodExists
Gets value indicating if given collection is non-empty
(Defined by EnumerableT.)
Public Extension MethodIsEmpty()()()()Overloaded.
Gets value indicationg if given colection is empty
(Defined by CollectionTools.)
Public Extension MethodIsEmpty()()()()Overloaded.
Gets value indicating if given collection is empty
(Defined by EnumerableT.)
Public Extension MethodLast()()()()Overloaded.
Gets last item in collection
(Defined by CollectionTools.)
Public Extension MethodLast()()()()Overloaded.
Gets last item in collection
(Defined by CollectionTools.)
Public Extension MethodSingle
Gets value indicating if collection contains exactly one element
(Defined by EnumerableT.)

Properties

  NameDescription
Public propertyAddingReadOnly
When overiden in derived class determines ReadOnly property value for the Adding and ItemChanging events
Public propertyAllowAddCancelableEventsHandlers
When overiden in derived class determines if it is allowed to add handlers for events that supports cancellation
Protected propertyAllowEdit
When overriden in derived class gets whether you can update items in the list.
Public propertyAllowItemCancel
When overiden in derived class gets or sets value indicating if items implementing ICollectionCancelItem are allowed to cancel itselves being added/removed to/from the list.
Protected propertyAllowRemove
When overriden in derived class gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).
Public propertyCanAddNew
When overriden in derived class gets whether you can add items to the list using AddNew()()()().
Public propertyCancelError
When overiden in derived class gets value indicating if an OperationCanceledException is thrown when item operation is canceled in event handler.
Public propertyCount
When overriden in derived class gets the number of elements contained in the ListWithEvents<(Of <(<'T>)>)>.
Public propertyIList_Item
When overriden in derived class gets or sets the element at the specified index.
Public propertyIsAllowItemCancelLocked
When overiden in derived class gets value indicationg if value of the AllowItemCancel can be changed
Public propertyIsFixedSize
When overriden in derived class gets a value indicating whether the IList has a fixed size.
Public propertyIsReadOnly
When overriden in derived class gets a value indicating whether the ListWithEvents<(Of <(<'T>)>)> is read-only (always false).
Protected propertyIsSorted
When overriden in derived class gets whether the items in the list are sorted.
Public propertyIsSynchronized
When overriden in derived class gets a value indicating whether access to the ICollection is synchronized (thread safe).
Public propertyLocked
When overiden in derived class determines if the ListWithEvents<(Of <(<'T>)>)> isn locked (being locked prevents if from being edited)
Public propertyOwner
When overriden in derived class represents custom property wher owner of the list can be stored to provide bi-directional reference
Protected propertySortDirection
When overriden in derived class gets the direction of the sort.
Protected propertySortProperty
When overriden in derived class gets the PropertyDescriptor that is being used for sorting.
Protected propertySupportsChangeNotification
When overriden in derived class gets whether a ListChanged event is raised when the list changes or an item in the list changes.
Protected propertySupportsSearching
When overriden in derived class gets whether the list supports searching using the Find(PropertyDescriptor, Object) method.
Protected propertySupportsSorting
When overriden in derived class gets whether the list supports sorting.
Public propertySyncRoot
When overriden in derived class gets an object that can be used to synchronize access to the ICollection.

Events

  NameDescription
Public eventChanged
Raised when value of member changes
Public eventINotifyCollectionChanged_CollectionChanged
Occurs when the collection changes. Implements the CollectionChanged event. This event is provided for compatibility with INotifyCollectionChanged interface. ListWithEvents<(Of <(<'T>)>)> provides CollectionChanged event which provides detailed information about what has with the collection.
Public eventListChanged
Occurs when the list changes or an item in the list changes.

Explicit Interface Implementations

See Also