BulkObservableCollection<T> BulkObservableCollection<T> BulkObservableCollection<T> BulkObservableCollection<T> Class

Definition

Represents an ObservableCollection<T> that includes the AddRange() operation.

generic <typename T>
public ref class BulkObservableCollection : System::Collections::ObjectModel::ObservableCollection<T>
public class BulkObservableCollection<T> : System.Collections.ObjectModel.ObservableCollection<T>
type BulkObservableCollection<'T> = class
    inherit ObservableCollection<'T>
Public Class BulkObservableCollection(Of T)
Inherits ObservableCollection(Of T)

Type Parameters

T

The type of the collection.

Inheritance
BulkObservableCollection<T>BulkObservableCollection<T>BulkObservableCollection<T>BulkObservableCollection<T>

Constructors

BulkObservableCollection<T>() BulkObservableCollection<T>() BulkObservableCollection<T>() BulkObservableCollection<T>()

Initializes a new instance of a BulkObservableCollection<T>.

Methods

AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>)

Adds a list of items to the collection without firing an event for each item.

AsReadOnly() AsReadOnly() AsReadOnly() AsReadOnly()

Gets a read-only version of the collection.

BeginBulkOperation() BeginBulkOperation() BeginBulkOperation() BeginBulkOperation()

Suspends change events on the collection in order to perform a bulk change operation.

ClearItems() ClearItems() ClearItems() ClearItems()

Removes all items from the collection.

EndBulkOperation() EndBulkOperation() EndBulkOperation() EndBulkOperation()

Restores change events on the collection after a bulk change operation has been completed.

InsertItem(Int32, T) InsertItem(Int32, T) InsertItem(Int32, T) InsertItem(Int32, T)

Inserts an item at the specified index.

MoveItem(Int32, Int32) MoveItem(Int32, Int32) MoveItem(Int32, Int32) MoveItem(Int32, Int32)

Moves the item from one location to another.

OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raised when the collection has changed.

OnPropertyChanged(PropertyChangedEventArgs) OnPropertyChanged(PropertyChangedEventArgs) OnPropertyChanged(PropertyChangedEventArgs) OnPropertyChanged(PropertyChangedEventArgs)

Occurs when a property on the collection has changed.

RemoveItem(Int32) RemoveItem(Int32) RemoveItem(Int32) RemoveItem(Int32)

Removes an item from the collection at the specified location.

SetItem(Int32, T) SetItem(Int32, T) SetItem(Int32, T) SetItem(Int32, T)

Replaces the item at the specified location.

Applies to