Method | Description | |
---|---|---|
AddComparer ( string propName, IComparer comparer ) : void |
Adds a comparer for property propName. Adding a comparer for a property allows that property to be sorted by the specified comparer (e.g. when the user clicks on the corresponding column header in a datagrid view. |
|
CheckGridListSorter ( List |
Constructs a new CheckGridListSorter for the specified list of ICheckGridRowObjects objects.
|
|
ReadSortInfoFromReg ( |
Reads the sort order information from the registry.
|
|
RowComparer ( object x, object y ) : int |
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
|
|
SetFirstSortPropName ( string propName, bool toggleDirection ) : void |
|
|
Sort ( ) : void |
Sorts the list using the current sort order.
|
|
Sort ( string sortPropName, bool toggleDirection ) : void |
Sorts the list, making the specified property name the primary sort field and toggles the sort direction if that field is already in the sort order. If not, then the direction is ascending.
|
|
WriteSortInfoToReg ( |
Writes the sort order information to the registry.
|
public AddComparer ( string propName, IComparer comparer ) : void | ||
propName | string | Name of the property. |
comparer | IComparer | The comparer object |
return | void |
public CheckGridListSorter ( List |
||
list | List |
|
return | System |
public ReadSortInfoFromReg ( |
||
key | ||
return | bool |
public RowComparer ( object x, object y ) : int | ||
x | object | The first object to compare. |
y | object | The second object to compare. |
return | int |
public SetFirstSortPropName ( string propName, bool toggleDirection ) : void | ||
propName | string | |
toggleDirection | bool | |
return | void |
public Sort ( string sortPropName, bool toggleDirection ) : void | ||
sortPropName | string | |
toggleDirection | bool | |
return | void |
public WriteSortInfoToReg ( |
||
key | ||
return | void |