This article explains how to filter elements in a collection in WPF.
In WPF we have the CollectionView that is the instance type bound to the Items controls. The CollectionView allows the use of filters, sorting and other features.To filter the results shown in a items control we can use the collection view and add a Filter method to it.Consider the following scenario:
Pro WPF: Windows Presentation Foundation in .NET 3.0