Version

SortContext Class Members

The following tables list the members exposed by SortContext.

Public Properties
 NameDescription
Public PropertyCaseSensitiveSortGets if the sort will be case sensitive. Only applies to string columns.  
Public PropertyDataTypeGets the type of the object that is being sorted.  
Public PropertyPropertyTypeGets the type of the property that is being sorted on.  
Public PropertySortAscendingGets if the current sort is sorted ascending or descending.  
Public PropertySortPropertyNameGets a string describing the column which is sorted.  
Public Methods
 NameDescription
Public MethodAppendSort<T>Appends to this sort to the IOrderedQueryable sort  
Public Methodstatic (Shared in Visual Basic)CreateGenericSortOverloaded. Initalizes a new CurrentSort  
Public MethodGetComparer<T>Provides the comparer associated with the SortContext<T,TColumnType>.  
Public MethodSort<T>Sorts a given IQueryable based on the currently sorted column.  
See Also