SortableBindingList<T> Class

A BindingList that supports sorting.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<T>
    System.ComponentModel.BindingList<T>
      Microsoft.SqlServer.Management.Controls.SortableBindingList<T>

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Class SortableBindingList(Of T) _
    Inherits BindingList(Of T)
'Usage
Dim instance As SortableBindingList(Of T)
public class SortableBindingList<T> : BindingList<T>
generic<typename T>
public ref class SortableBindingList : public BindingList<T>
type SortableBindingList<'T> =  
    class
        inherit BindingList<'T>
    end
JScript does not support generic types and methods.

Type Parameters

  • T

The SortableBindingList<T> type exposes the following members.

Constructors

  Name Description
Public method SortableBindingList<T>() Initializes a new instance of the SortableBindingList<T> class with the default property values.
Public method SortableBindingList<T>(IList<T>) Initializes a new instance of the SortableBindingList<T> class with the specified list of items.

Top

Properties

  Name Description
Public property AllowEdit (Inherited from BindingList<T>.)
Public property AllowNew (Inherited from BindingList<T>.)
Public property AllowRemove (Inherited from BindingList<T>.)
Public property Count (Inherited from Collection<T>.)
Protected property IsSortedCore Gets a value indicating whether the list is sorted. (Overrides BindingList<T>.IsSortedCore.)
Public property Item (Inherited from Collection<T>.)
Protected property Items (Inherited from Collection<T>.)
Public property RaiseListChangedEvents (Inherited from BindingList<T>.)
Protected property SortDirectionCore Gets the direction in which the list is sorted. (Overrides BindingList<T>.SortDirectionCore.)
Protected property SortPropertyCore Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null. (Overrides BindingList<T>.SortPropertyCore.)
Protected property SupportsChangeNotificationCore (Inherited from BindingList<T>.)
Protected property SupportsSearchingCore (Inherited from BindingList<T>.)
Protected property SupportsSortingCore Gets a value indicating whether the list supports sorting. (Overrides BindingList<T>.SupportsSortingCore.)

Top

Methods

  Name Description
Public method Add (Inherited from Collection<T>.)
Public method AddNew (Inherited from BindingList<T>.)
Protected method AddNewCore (Inherited from BindingList<T>.)
Protected method ApplySortCore Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException. (Overrides BindingList<T>.ApplySortCore(PropertyDescriptor, ListSortDirection).)
Public method CancelNew (Inherited from BindingList<T>.)
Public method Clear (Inherited from Collection<T>.)
Protected method ClearItems (Inherited from BindingList<T>.)
Public method Contains (Inherited from Collection<T>.)
Public method CopyTo (Inherited from Collection<T>.)
Public method EndNew (Inherited from BindingList<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method FindCore (Inherited from BindingList<T>.)
Public method GetEnumerator (Inherited from Collection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf (Inherited from Collection<T>.)
Public method Insert (Inherited from Collection<T>.)
Protected method InsertItem (Inherited from BindingList<T>.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnAddingNew (Inherited from BindingList<T>.)
Protected method OnListChanged (Inherited from BindingList<T>.)
Public method Remove (Inherited from Collection<T>.)
Public method RemoveAt (Inherited from Collection<T>.)
Protected method RemoveItem (Inherited from BindingList<T>.)
Protected method RemoveSortCore Removes any sort that was applied by using [T:System.ComponentModel.BindingList`1.ApplySortCore(System.ComponentModel.PropertyDescriptor,System.ComponentModel.ListSortDirection)] if sorting is implemented in a derived class; otherwise, raises NotSupportedException. (Overrides BindingList<T>.RemoveSortCore().)
Public method ResetBindings (Inherited from BindingList<T>.)
Public method ResetItem (Inherited from BindingList<T>.)
Protected method SetItem (Inherited from BindingList<T>.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event AddingNew (Inherited from BindingList<T>.)
Public event ListChanged (Inherited from BindingList<T>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from Collection<T>.)
Explicit interface implemetationPrivate method IBindingList.AddIndex (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate method IBindingList.AddNew (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.AllowEdit (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.AllowNew (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.AllowRemove (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate method IBindingList.ApplySort (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from Collection<T>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Collection<T>.)
Explicit interface implemetationPrivate method IBindingList.Find (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Collection<T>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from Collection<T>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from Collection<T>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from Collection<T>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from Collection<T>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from Collection<T>.)
Explicit interface implemetationPrivate property IBindingList.IsSorted (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Collection<T>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from Collection<T>.)
Explicit interface implemetationPrivate property IRaiseItemChangedEvents.RaisesItemChangedEvents (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from Collection<T>.)
Explicit interface implemetationPrivate method IBindingList.RemoveIndex (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate method IBindingList.RemoveSort (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.SortDirection (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.SortProperty (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.SupportsChangeNotification (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.SupportsSearching (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property IBindingList.SupportsSorting (Inherited from BindingList<T>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Collection<T>.)

Top

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.