Telerik UI for Windows Phone by Progress

Using filter descriptor you can exclude some items from being populated in the list. You have to create a filter descriptor and add it to the FilterDescriptors property of RadJumpList.

Here is an example of filter that shows only item that contain 's' or 'S':

GenericFilterDescriptor<string> filterByFirstLetter = new GenericFilterDescriptor<string>(day => day.Contains("s") || day.Contains("S"));
GenericFilterDescriptor<string> filterByFirstLetter = new GenericFilterDescriptor<string>( day => day.Contains( "s" ) || day.Contains( "S" ) ); this.radJumpList.FilterDescriptors.Add( filterByFirstLetter );

Here is a snapshot of the result.

Jump List-Features-Filter Descriptors-01

As you see, only items containing 's' or 'S' are shown.

Binding the FilterDescriptors collection

RadJumpList allows the developer to perform filtering by binding a source of FilterDescriptors. The FilterDescriptorsSource property is used for this purpose. When it is set the FilterDescriptors property of RadJumpList can no longer be used to add/remove filter descriptors, i.e. the control switches to bound mode. Resetting the FilterDescriptorsSource property to null makes the FilterDescriptors collection modifiable again.

The following C# code snippet demonstrates how the FilterDescriptorsSource property can be used:

List<DataDescriptor> filterDescriptors = new List<DataDescriptor>();

GenericFilterDescriptor<string> fd = new GenericFilterDescriptor<string>(
(string item) =>
    return item.Contains("a");


this.radJumpList.FilterDescriptorsSource = filterDescriptors;

If the FilterDescriptors collection has been manually populated and an attempt is made to bind the FilterDescriptorsSource, and exception will be thrown.