Click or drag to resize

CommandifiedListT Methods

The CommandifiedListT generic type exposes the following members.

Methods
  NameDescription
Public methodAdd (Inherited from CollectionT.)
Public methodAddIndex
Adds the PropertyDescriptor to the indexes used for searching.
Public methodAddNew
Adds a new item to the list.
Public methodAddRange
Adds the elements in the range specified to this list in one command
Public methodApplySort
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
Public methodClear (Inherited from CollectionT.)
Protected methodClearItems (Overrides CollectionTClearItems.)
Public methodContains (Inherited from CollectionT.)
Public methodCopyTo (Inherited from CollectionT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Returns the index of the row that has the given PropertyDescriptor.
Public methodGetEnumerator (Inherited from CollectionT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionT.)
Public methodInsert (Inherited from CollectionT.)
Protected methodInsertItem (Overrides CollectionTInsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveElement
Moves the element at index currentIndex to the indexToMoveTo index.
Protected methodNotifyChange
Notifies a list change to observers with the parameters passed in.
Protected methodOnAddingItem
Called right before the item passed in is about to be added to this list. Use this method to do event handler housekeeping on elements in this list.
Protected methodOnAddingItemComplete
Called right after the item passed in has been added to the list
Protected methodOnClearing
Called right before the clear action starts. Use this method to do event handler housekeeping on elements in this list.
Protected methodOnClearingComplete
Called right after the clear action has been completed.
Protected methodOnElementPropertyChanged
Called when the PropertyChanged event was raised by an element in this list.
Protected methodOnRemovingItem
Called right before the item passed in is about to be removed from this list. Use this method to do event handler housekeeping on elements in this list.
Protected methodOnRemovingItemComplete
Called right after the item passed in has been removed from this list.
Protected methodPerformSyncedAction(Action)
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
Protected methodPerformSyncedActionTFunc(FuncTFunc)
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
Public methodRemove (Inherited from CollectionT.)
Public methodRemoveAt (Inherited from CollectionT.)
Public methodRemoveIndex
Removes the PropertyDescriptor from the indexes used for searching.
Protected methodRemoveItem (Overrides CollectionTRemoveItem(Int32).)
Public methodRemoveSort
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
Public methodResetBindings
Resets the bindings. Raises a ListChanged.Reset event
Protected methodSetItem
Replaces the element at the specified index.
(Overrides CollectionTSetItem(Int32, T).)
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodBinarySearchT
Searches for the element specified in the sorted list specified using binary search http://en.wikipedia.org/wiki/Binary_search. The algorithm is re-implemented here to be able to search in any sorted IList implementing data structure (.NET's BCL only implements BinarySearch on arrays and List(Of T). If no IComparer(Of T) is available, try using Algorithmia's ComparisonBasedComparer,
(Defined by IListExtensionMethods.)
Public Extension MethodToReadOnlyCollectionTDestination
Converts the enumerable to a ReadOnlyCollection.
(Defined by IEnumerableExtensionMethods.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionT.)
Top
See Also