Open Rails

SortableBindingList(T) Members

SortableBindingList(T) overview

Public Instance Constructors

SortableBindingList(T) Overloaded. Initializes a new instance of the SortableBindingList(T) class.

Public Instance Properties

AllowEdit (inherited from BindingList)Gets or sets a value indicating whether items in the list can be edited.
AllowNew (inherited from BindingList)Gets or sets a value indicating whether you can add items to the list using the AddNew method.
AllowRemove (inherited from BindingList)Gets or sets a value indicating whether you can remove items from the collection.
Count (inherited from Collection)Gets the number of elements actually contained in the Collection`1.
Item (inherited from Collection)Gets or sets the element at the specified index.
RaiseListChangedEvents (inherited from BindingList)Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.

Public Instance Methods

Add (inherited from Collection)Adds an object to the end of the Collection`1.
AddNew (inherited from BindingList)Adds a new item to the collection.
CancelNew (inherited from BindingList)Discards a pending new item.
Clear (inherited from Collection)Removes all elements from the Collection`1.
Contains (inherited from Collection)Determines whether an element is in the Collection`1.
CopyTo (inherited from Collection)Copies the entire Collection`1 to a compatible one-dimensional Array, starting at the specified index of the target array.
EndNew (inherited from BindingList)Commits a pending new item to the collection.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from Collection)Returns an enumerator that iterates through the Collection`1.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf (inherited from Collection)Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection`1.
Insert (inherited from Collection)Inserts an element into the Collection`1 at the specified index.
Remove (inherited from Collection)Removes the first occurrence of a specific object from the Collection`1.
RemoveAt (inherited from Collection)Removes the element at the specified index of the Collection`1.
ResetBindings (inherited from BindingList)Raises a ListChanged event of type Reset.
ResetItem (inherited from BindingList)Raises a ListChanged event of type ItemChanged for the item at the specified position.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

AddingNew (inherited from BindingList)Occurs before an item is added to the list.
ListChanged (inherited from BindingList)Occurs when the list or an item in the list changes.

Protected Instance Fields

isSorted
sortDirection
sortProperty

Protected Instance Properties

IsSortedCore
Items (inherited from Collection)Gets a IList`1 wrapper around the Collection`1.
SortDirectionCore
SortPropertyCore
SupportsChangeNotificationCore (inherited from BindingList)Gets a value indicating whether ListChanged events are enabled.
SupportsSearchingCore (inherited from BindingList)Gets a value indicating whether the list supports searching.
SupportsSortingCore

Protected Instance Methods

AddNewCore (inherited from BindingList)Adds a new item to the end of the collection.
ApplySortCore
ClearItems (inherited from BindingList)Removes all elements from the collection.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindCore (inherited from BindingList)Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
InsertItem (inherited from BindingList)Inserts the specified item in the list at the specified index.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnAddingNew (inherited from BindingList)Raises the AddingNew event.
OnListChanged (inherited from BindingList)Raises the ListChanged event.
RemoveItem (inherited from BindingList)Removes the item at the specified index.
RemoveSortCore
SetItem (inherited from BindingList)Replaces the item at the specified index with the specified item.

See Also

SortableBindingList<T> Class | ORTS Namespace