ModelViewList Methods |
The ModelViewList type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionModelView.) | |
AddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from CommandifiedListT.) | |
AddNew |
Adds a new item to the list.
(Inherited from CommandifiedListT.) | |
AddRange |
Adds the elements in the range specified to this list in one command
(Inherited from CommandifiedListT.) | |
ApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from CommandifiedListT.) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionModelView.) | |
ClearItems |
Removes all elements from the CollectionT.
(Inherited from CommandifiedListT.) | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionModelView.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionModelView.) | |
DeserializeFromReader |
Deserializes the data for this class from the xml reader passed in
| |
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.
(Inherited from CommandifiedListT.) | |
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionModelView.) | |
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 CollectionT. (Inherited from CollectionModelView.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionModelView.) | |
InsertItem |
Inserts an element into the CollectionT at the specified index.
(Inherited from CommandifiedListT.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveElement |
Moves the element at index currentIndex to the indexToMoveTo index.
(Inherited from CommandifiedListT.) | |
NotifyChange |
Notifies a list change to observers with the parameters passed in.
(Inherited from CommandifiedListT.) | |
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.
(Overrides CommandifiedListTOnAddingItem(T).) | |
OnAddingItemComplete |
Called right after the item passed in has been added to the list
(Inherited from CommandifiedListT.) | |
OnClearing |
Called right before the clear action starts. Use this method to do event handler housekeeping on elements in this list.
(Overrides CommandifiedListTOnClearing.) | |
OnClearingComplete |
Called right after the clear action has been completed.
(Inherited from CommandifiedListT.) | |
OnElementPropertyChanged |
Called when the PropertyChanged event was raised by an element in this list.
(Inherited from CommandifiedListT.) | |
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.
(Inherited from CommandifiedListT.) | |
OnRemovingItemComplete |
Called right after the item passed in has been removed from this list.
(Overrides CommandifiedListTOnRemovingItemComplete(T).) | |
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.
(Inherited from CommandifiedListT.) | |
PerformSyncedActionTFunc(FuncTFunc) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedListT.) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionModelView.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionModelView.) | |
RemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from CommandifiedListT.) | |
RemoveItem |
Removes the element at the specified index of the CollectionT.
(Inherited from CommandifiedListT.) | |
RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from CommandifiedListT.) | |
ResetBindings |
Resets the bindings. Raises a ListChanged.Reset event
(Inherited from CommandifiedListT.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
SetItem |
Replaces the element at the specified index.
(Inherited from CommandifiedListT.) | |
ToString | (Inherited from CommandifiedListT.) |
Name | Description | |
---|---|---|
IListAdd | Adds an item to the IList. (Inherited from CollectionModelView.) | |
IListContains | Determines whether the IList contains a specific value. (Inherited from CollectionModelView.) | |
ICollectionCopyTo | (Inherited from CollectionModelView.) | |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from CollectionModelView.) | |
IListIndexOf | Determines the index of a specific item in the IList. (Inherited from CollectionModelView.) | |
IListInsert | Inserts an item into the IList at the specified index. (Inherited from CollectionModelView.) | |
IListRemove | Removes the first occurrence of a specific object from the IList. (Inherited from CollectionModelView.) |