DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.General.Generic.SortableBindingList< T > Class Template Reference

Inherits BindingList<T> and overrides the functions necessary to provide sorting.
The code of this class is based on the Codeprojekt article Implementing a Sortable BindingList Very, Very Quickly by Muigai Mwaura. More...

Inheritance diagram for DirectOutput.General.Generic.SortableBindingList< T >:
Collaboration diagram for DirectOutput.General.Generic.SortableBindingList< T >:

Public Member Functions

 SortableBindingList ()
 
 SortableBindingList (IEnumerable< T > enumerable)
 
 SortableBindingList (List< T > list)
 

Protected Member Functions

override void ApplySortCore (PropertyDescriptor prop, ListSortDirection direction)
 
override void RemoveSortCore ()
 
override void OnListChanged (ListChangedEventArgs e)
 

Properties

override bool SupportsSortingCore [get]
 
override ListSortDirection SortDirectionCore [get]
 
override PropertyDescriptor SortPropertyCore [get]
 

Detailed Description

Inherits BindingList<T> and overrides the functions necessary to provide sorting.
The code of this class is based on the Codeprojekt article Implementing a Sortable BindingList Very, Very Quickly by Muigai Mwaura.

Constructor & Destructor Documentation

DirectOutput.General.Generic.SortableBindingList< T >.SortableBindingList ( )
DirectOutput.General.Generic.SortableBindingList< T >.SortableBindingList ( IEnumerable< T >  enumerable)
DirectOutput.General.Generic.SortableBindingList< T >.SortableBindingList ( List< T >  list)

Member Function Documentation

override void DirectOutput.General.Generic.SortableBindingList< T >.ApplySortCore ( PropertyDescriptor  prop,
ListSortDirection  direction 
)
protected
override void DirectOutput.General.Generic.SortableBindingList< T >.OnListChanged ( ListChangedEventArgs  e)
protected
override void DirectOutput.General.Generic.SortableBindingList< T >.RemoveSortCore ( )
protected

Property Documentation

override ListSortDirection DirectOutput.General.Generic.SortableBindingList< T >.SortDirectionCore
getprotected
override PropertyDescriptor DirectOutput.General.Generic.SortableBindingList< T >.SortPropertyCore
getprotected
override bool DirectOutput.General.Generic.SortableBindingList< T >.SupportsSortingCore
getprotected

The documentation for this class was generated from the following file: