ItemCollection Methods

ItemCollection Methods

 

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

NameDescription
System_CAPS_pubmethodAdd(Object)

Adds an item to the ItemCollection.

System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethodClear()

Clears the collection and releases the references on all items currently in the collection.

System_CAPS_pubmethodContains(Object)

Returns a value that indicates whether the specified item is in this view.(Overrides CollectionView.Contains(Object).)

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the elements of the collection to an array, starting at a particular array index.

System_CAPS_pubmethodDeferRefresh()

Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.(Overrides CollectionView.DeferRefresh().)

System_CAPS_pubmethodDetachFromSourceCollection()

Removes the reference to the underlying collection from the CollectionView.(Inherited from CollectionView.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetItemAt(Int32)

Returns the item at the specified zero-based index in this view.(Overrides CollectionView.GetItemAt(Int32).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Object)

Returns the index in this collection where the specified item is located. (Overrides CollectionView.IndexOf(Object).)

System_CAPS_pubmethodInsert(Int32, Object)

Inserts an element into the collection at the specified index.

System_CAPS_pubmethodMoveCurrentTo(Object)

Sets the specified item in the collection as the CurrentItem.(Overrides CollectionView.MoveCurrentTo(Object).)

System_CAPS_pubmethodMoveCurrentToFirst()

Sets the first item in the view as the CurrentItem.(Overrides CollectionView.MoveCurrentToFirst().)

System_CAPS_pubmethodMoveCurrentToLast()

Sets the last item in the view as the CurrentItem.(Overrides CollectionView.MoveCurrentToLast().)

System_CAPS_pubmethodMoveCurrentToNext()

Sets the item after the CurrentItem in the view as the CurrentItem.(Overrides CollectionView.MoveCurrentToNext().)

System_CAPS_pubmethodMoveCurrentToPosition(Int32)

Sets the item at the specified index to be the CurrentItem in the view.(Overrides CollectionView.MoveCurrentToPosition(Int32).)

System_CAPS_pubmethodMoveCurrentToPrevious()

Sets the item before the CurrentItem in the view as the CurrentItem.(Overrides CollectionView.MoveCurrentToPrevious().)

System_CAPS_pubmethodPassesFilter(Object)

Returns a value that indicates whether the specified item belongs to this view.(Overrides CollectionView.PassesFilter(Object).)

System_CAPS_pubmethodRefresh()

Re-creates the view.(Inherited from CollectionView.)

System_CAPS_pubmethodRemove(Object)

Removes the specified item reference from the collection or view.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the item at the specified index of the collection or view.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an IEnumerator object that you can use to enumerate the items in the view.(Inherited from CollectionView.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.AddNew()

Adds a new item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.CancelEdit()

Ends the edit transaction and, if possible, restores the original value to the item.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.CancelNew()

Ends the add transaction and discards the pending new item.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.CommitEdit()

Ends the edit transaction and saves the pending changes.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.CommitNew()

Ends the add transaction and saves the pending new item.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.EditItem(Object)

Begins an edit transaction of the specified item.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.Remove(Object)

Removes the specified item from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionView.RemoveAt(Int32)

Removes the item at the specified position from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEditableCollectionViewAddNewItem.AddNewItem(Object)

Adds the specified object to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs)

Receives events from the centralized event manager.

Return to top
Show:
© 2016 Microsoft