.NET Framework Class Library
BindingListCollectionView Class

Updated: July 2008

Represents the CollectionView for collections that implement IBindingList, such as Microsoft ActiveX Data Objects (ADO) data views.

Namespace:  System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax

Visual Basic (Declaration)
Public NotInheritable Class BindingListCollectionView _
    Inherits CollectionView _
    Implements IComparer
Visual Basic (Usage)
Dim instance As BindingListCollectionView
C#
public sealed class BindingListCollectionView : CollectionView, 
    IComparer
Visual C++
public ref class BindingListCollectionView sealed : public CollectionView, 
    IComparer
JScript
public final class BindingListCollectionView extends CollectionView implements IComparer
XAML
You cannot directly create an instance of this class in XAML.
Remarks

All collections have a default CollectionView. For collections that implement IBindingListView or IBindingList, the default collection view is BindingListCollectionView. Specifically, IBindingList is required for BindingListCollectionView, and IBindingListView is an optional interface that gives additional sorting and filtering support.

If you have multiple BindingListCollectionView objects and the underlying source is a DataTable or a DataView, the view objects do not sort or filter independently. For example, if you have two BindingListCollectionView objects associated with the same DataTable and you perform sorting on one of the views, the order of items in the other view can be affected. This is because BindingListCollectionView objects use the underlying IBindingList for sorting and filtering functionalities.

For more information about collection views, see Data Binding Overview.

Inheritance Hierarchy

System..::.Object
  System.Windows.Threading..::.DispatcherObject
    System.Windows.Data..::.CollectionView
      System.Windows.Data..::.BindingListCollectionView
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Other Resources

Change History

Date

History

Reason

July 2008

Added new members: CanAddNew property, CanCancelEdit property, CanRemove property, CurrentAddItem property, CurrentEditItem property, IsAddingNew property, IsEditingItem property, ItemProperties property, NewItemPlaceholderPosition property, AddNew method, CancelEdit method, CancelNew method, CommitEdit method, CommitlNew()()() method, EditItem method, Remove method, RemoveAt method.

SP1 feature change.

Tags :


Page view tracker