Click or drag to resize
Accord.NET (logo)

SortableBindingListT Class

Sortable binding list.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionT
    System.ComponentModelBindingListT
      Accord.ControlsSortableBindingListT

Namespace:  Accord.Controls
Assembly:  Accord.Controls (in Accord.Controls.dll) Version: 3.8.0
Syntax
public class SortableBindingList<T> : BindingList<T>
Request Example View Source

Type Parameters

T
The type of the elements in the list.

The SortableBindingListT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListT.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListT.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListT.)
Public propertyCount
Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionT.)
Protected propertyIsSortedCore
Gets whether this list is sorted.
(Overrides BindingListTIsSortedCore.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Protected propertyItems
Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionT.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListT.)
Protected propertySortDirectionCore
Gets the sort order direction.
(Overrides BindingListTSortDirectionCore.)
Protected propertySortPropertyCore
Gets the current property being sorted.
(Overrides BindingListTSortPropertyCore.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListT.)
Protected propertySupportsSearchingCore
Returns true.
(Overrides BindingListTSupportsSearchingCore.)
Protected propertySupportsSortingCore
Returns true.
(Overrides BindingListTSupportsSortingCore.)
Top
Methods
  NameDescription
Public methodAdd
Adds an object to the end of the CollectionT.
(Inherited from CollectionT.)
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingListT.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingListT.)
Protected methodApplySortCore
Sorts the items.
(Overrides BindingListTApplySortCore(PropertyDescriptor, ListSortDirection).)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingListT.)
Public methodClear
Removes all elements from the CollectionT.
(Inherited from CollectionT.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from BindingListT.)
Public methodContains
Determines whether an element is in the CollectionT.
(Inherited from CollectionT.)
Public methodCopyTo
Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionT.)
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingListT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindCore
Searches for the index of a item with a specific property descriptor and value
(Overrides BindingListTFindCore(PropertyDescriptor, Object).)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionT.)
Public methodInsert
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionT.)
Protected methodInsertItem
Inserts the specified item in the list at the specified index.
(Inherited from BindingListT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingListT.)
Protected methodOnListChanged
Raises the ListChanged event.
(Inherited from BindingListT.)
Public methodRemove
Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionT.)
Public methodRemoveAt
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionT.)
Protected methodRemoveItem
Removes the item at the specified index.
(Inherited from BindingListT.)
Protected methodRemoveSortCore
Removes any sort applied.
(Overrides BindingListTRemoveSortCore.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingListT.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListT.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingListT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAddingNew
Occurs before an item is added to the list.
(Inherited from BindingListT.)
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingListT.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also