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 | |
---|---|---|
SortableBindingList<T>() | Initializes a new instance of the SortableBindingList<T> class with the default property values. | |
SortableBindingList<T>(IList<T>) | Initializes a new instance of the SortableBindingList<T> class with the specified list of items. |
Top
Properties
Name | Description | |
---|---|---|
AllowEdit | (Inherited from BindingList<T>.) | |
AllowNew | (Inherited from BindingList<T>.) | |
AllowRemove | (Inherited from BindingList<T>.) | |
Count | (Inherited from Collection<T>.) | |
IsSortedCore | Gets a value indicating whether the list is sorted. (Overrides BindingList<T>.IsSortedCore.) | |
Item | (Inherited from Collection<T>.) | |
Items | (Inherited from Collection<T>.) | |
RaiseListChangedEvents | (Inherited from BindingList<T>.) | |
SortDirectionCore | Gets the direction in which the list is sorted. (Overrides BindingList<T>.SortDirectionCore.) | |
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.) | |
SupportsChangeNotificationCore | (Inherited from BindingList<T>.) | |
SupportsSearchingCore | (Inherited from BindingList<T>.) | |
SupportsSortingCore | Gets a value indicating whether the list supports sorting. (Overrides BindingList<T>.SupportsSortingCore.) |
Top
Methods
Name | Description | |
---|---|---|
Add | (Inherited from Collection<T>.) | |
AddNew | (Inherited from BindingList<T>.) | |
AddNewCore | (Inherited from BindingList<T>.) | |
ApplySortCore | Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException. (Overrides BindingList<T>.ApplySortCore(PropertyDescriptor, ListSortDirection).) | |
CancelNew | (Inherited from BindingList<T>.) | |
Clear | (Inherited from Collection<T>.) | |
ClearItems | (Inherited from BindingList<T>.) | |
Contains | (Inherited from Collection<T>.) | |
CopyTo | (Inherited from Collection<T>.) | |
EndNew | (Inherited from BindingList<T>.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindCore | (Inherited from BindingList<T>.) | |
GetEnumerator | (Inherited from Collection<T>.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IndexOf | (Inherited from Collection<T>.) | |
Insert | (Inherited from Collection<T>.) | |
InsertItem | (Inherited from BindingList<T>.) | |
MemberwiseClone | (Inherited from Object.) | |
OnAddingNew | (Inherited from BindingList<T>.) | |
OnListChanged | (Inherited from BindingList<T>.) | |
Remove | (Inherited from Collection<T>.) | |
RemoveAt | (Inherited from Collection<T>.) | |
RemoveItem | (Inherited from BindingList<T>.) | |
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().) | |
ResetBindings | (Inherited from BindingList<T>.) | |
ResetItem | (Inherited from BindingList<T>.) | |
SetItem | (Inherited from BindingList<T>.) | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
AddingNew | (Inherited from BindingList<T>.) | |
ListChanged | (Inherited from BindingList<T>.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from Collection<T>.) | |
IBindingList.AddIndex | (Inherited from BindingList<T>.) | |
IBindingList.AddNew | (Inherited from BindingList<T>.) | |
IBindingList.AllowEdit | (Inherited from BindingList<T>.) | |
IBindingList.AllowNew | (Inherited from BindingList<T>.) | |
IBindingList.AllowRemove | (Inherited from BindingList<T>.) | |
IBindingList.ApplySort | (Inherited from BindingList<T>.) | |
IList.Contains | (Inherited from Collection<T>.) | |
ICollection.CopyTo | (Inherited from Collection<T>.) | |
IBindingList.Find | (Inherited from BindingList<T>.) | |
IEnumerable.GetEnumerator | (Inherited from Collection<T>.) | |
IList.IndexOf | (Inherited from Collection<T>.) | |
IList.Insert | (Inherited from Collection<T>.) | |
IList.IsFixedSize | (Inherited from Collection<T>.) | |
ICollection<T>.IsReadOnly | (Inherited from Collection<T>.) | |
IList.IsReadOnly | (Inherited from Collection<T>.) | |
IBindingList.IsSorted | (Inherited from BindingList<T>.) | |
ICollection.IsSynchronized | (Inherited from Collection<T>.) | |
IList.Item | (Inherited from Collection<T>.) | |
IRaiseItemChangedEvents.RaisesItemChangedEvents | (Inherited from BindingList<T>.) | |
IList.Remove | (Inherited from Collection<T>.) | |
IBindingList.RemoveIndex | (Inherited from BindingList<T>.) | |
IBindingList.RemoveSort | (Inherited from BindingList<T>.) | |
IBindingList.SortDirection | (Inherited from BindingList<T>.) | |
IBindingList.SortProperty | (Inherited from BindingList<T>.) | |
IBindingList.SupportsChangeNotification | (Inherited from BindingList<T>.) | |
IBindingList.SupportsSearching | (Inherited from BindingList<T>.) | |
IBindingList.SupportsSorting | (Inherited from BindingList<T>.) | |
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.