Edit this page

Use generic FilterDescriptor

This help article will show you how to create generic expression FilterDescriptors for RadGridView.

Generic FilterDescriptor

The new FilterDescriptor allows you to directly plug a predicate that determines which items are filtered. You just need to set a lambda to the FilteringExpression property like so:

Example 3: Create a generic FilterDescriptor.

var descriptor = new FilterDescriptor<Employee> { FilteringExpression = e => prospects.Contains(e) };

Then, you should add the defined FilterDescriptor to the FilterDescriptors collection of RadGridView.

For more information you can check the Filtering section

See Also

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy