Xceed DataGrid for Silverlight Documentation
CanSortBy Method (DataSourceProvider)


The sort criteria to validate.
Retrieves a value indicating whether the specified sort criteria are supported by the data source.
Syntax
'Declaration
 
Protected Overridable Function CanSortBy( _
   ByVal sortOrder As IEnumerable(Of SortDescription) _
) As Boolean
'Usage
 
Dim instance As DataSourceProvider
Dim sortOrder As IEnumerable(Of SortDescription)
Dim value As Boolean
 
value = instance.CanSortBy(sortOrder)
protected virtual bool CanSortBy( 
   IEnumerable<SortDescription> sortOrder
)

Parameters

sortOrder
The sort criteria to validate.

Return Value

true if the sort criteria are supported by the data source; false otherwise. If one or more of the sort criteria are not supported, false will be returned.
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataSourceProvider Class
DataSourceProvider Members

Send Feedback