WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
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 >:

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.

Todo:
CHeck if the class can be dropped.

Definition at line 14 of file SortableBindingList.cs.

Constructor & Destructor Documentation

Definition at line 38 of file SortableBindingList.cs.

Member Function Documentation

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

Definition at line 50 of file SortableBindingList.cs.

override void DirectOutput.General.Generic.SortableBindingList< T >.OnListChanged ( ListChangedEventArgs  e)
protected

Definition at line 149 of file SortableBindingList.cs.

override void DirectOutput.General.Generic.SortableBindingList< T >.RemoveSortCore ( )
protected

Definition at line 108 of file SortableBindingList.cs.

Property Documentation

override ListSortDirection DirectOutput.General.Generic.SortableBindingList< T >.SortDirectionCore
getprotected

Definition at line 134 of file SortableBindingList.cs.

override PropertyDescriptor DirectOutput.General.Generic.SortableBindingList< T >.SortPropertyCore
getprotected

Definition at line 142 of file SortableBindingList.cs.

override bool DirectOutput.General.Generic.SortableBindingList< T >.SupportsSortingCore
getprotected

Definition at line 125 of file SortableBindingList.cs.


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