CommandifiedList<T> Methods |
The CommandifiedList< T> generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add | Adds an object to the end of the Collection<T>. (Inherited from Collection<T>.) |
![]() | AddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
|
![]() | AddNew |
Adds a new item to the list.
|
![]() | AddRange |
Adds the elements in the range specified to this list in one command
|
![]() | ApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
|
![]() | Clear | Removes all elements from the Collection<T>. (Inherited from Collection<T>.) |
![]() | ClearItems |
Removes all elements from the Collection<T>.
(Overrides Collection<T>.ClearItems().) |
![]() | Contains | Determines whether an element is in the Collection<T>. (Inherited from Collection<T>.) |
![]() | CopyTo | Copies the entire Collection< T> to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection<T>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Find |
Returns the index of the row that has the given PropertyDescriptor.
|
![]() | GetEnumerator | Returns an enumerator that iterates through the Collection<T>. (Inherited from Collection<T>.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>. (Inherited from Collection<T>.) |
![]() | Insert | Inserts an element into the Collection< T> at the specified index. (Inherited from Collection<T>.) |
![]() | InsertItem |
Inserts an element into the Collection< T> at the specified index.
(Overrides Collection<T>.InsertItem(Int32, T).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveElement |
Moves the element at index currentIndex to the indexToMoveTo index.
|
![]() | NotifyChange |
Notifies a list change to observers with the parameters passed in.
|
![]() | OnAddingItem |
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.
|
![]() | OnAddingItemComplete |
Called right after the item passed in has been added to the list
|
![]() | OnClearing |
Called right before the clear action starts. Use this method to do event handler housekeeping on elements in this list.
|
![]() | OnClearingComplete |
Called right after the clear action has been completed.
|
![]() | OnElementPropertyChanged |
Called when the PropertyChanged event was raised by an element in this list.
|
![]() | OnRemovingItem |
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.
|
![]() | OnRemovingItemComplete |
Called right after the item passed in has been removed from this list.
|
![]() | PerformSyncedAction(Action) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
|
![]() | PerformSyncedAction<TFunc>(Func<TFunc>) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
|
![]() | Remove | Removes the first occurrence of a specific object from the Collection<T>. (Inherited from Collection<T>.) |
![]() | RemoveAt | Removes the element at the specified index of the Collection<T>. (Inherited from Collection<T>.) |
![]() | RemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
|
![]() | RemoveItem |
Removes the element at the specified index of the Collection<T>.
(Overrides Collection<T>.RemoveItem(Int32).) |
![]() | RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
|
![]() | ResetBindings |
Resets the bindings. Raises a ListChanged.Reset event
|
![]() | SetItem |
Replaces the element at the specified index.
(Overrides Collection<T>.SetItem(Int32, T).) |
![]() | ToString | (Overrides Object.ToString().) |
Name | Description | |
---|---|---|
![]() | BinarySearch<T> |
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.) |
![]() | ToReadOnlyCollection<TDestination> |
Converts the enumerable to a ReadOnlyCollection.
(Defined by IEnumerableExtensionMethods.) |
Name | Description | |
---|---|---|
![]() ![]() | IList.Add | Adds an item to the IList. (Inherited from Collection<T>.) |
![]() ![]() | IList.Contains | Determines whether the IList contains a specific value. (Inherited from Collection<T>.) |
![]() ![]() | ICollection.CopyTo | (Inherited from Collection<T>.) |
![]() ![]() | IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from Collection<T>.) |
![]() ![]() | IList.IndexOf | Determines the index of a specific item in the IList. (Inherited from Collection<T>.) |
![]() ![]() | IList.Insert | Inserts an item into the IList at the specified index. (Inherited from Collection<T>.) |
![]() ![]() | IList.Remove | Removes the first occurrence of a specific object from the IList. (Inherited from Collection<T>.) |