Version

CreateGenericSort(CachedTypedInfo,Boolean,Object,IValueConverter,Object) Method

Initalizes a new CurrentSort
Syntax
'Declaration
 
Public Overloads Shared Function CreateGenericSort( _
   ByVal cachedTypeInfo As CachedTypedInfo, _
   ByVal sortAscending As Boolean, _
   ByVal comparer As Object, _
   ByVal converter As IValueConverter, _
   ByVal converterParam As Object _
) As SortContext
public static SortContext CreateGenericSort( 
   CachedTypedInfo cachedTypeInfo,
   bool sortAscending,
   object comparer,
   IValueConverter converter,
   object converterParam
)

Parameters

cachedTypeInfo
The type of the CurrentSort
sortAscending
True if the sort should sort the property in ascending order.
comparer
An IComparer
converter
converterParam

Return Value

A new CustomFilter which is also of type CurrentSort
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also