Filtering data in Silverlight

Ever want to filter data in Silverlight? here's a simple example that uses a lambda expression to search on name (case sensitive)



ComboBox cbx = ((ComboBox)sender);

ICollectionView dataView =
if (!string.IsNullOrEmpty(cbx.Text))
    dataView.Filter = f => ((Job)f).Name.Contains(cbx.Text);
    dataView.Filter = null;


WPF ErrorList


I recently wrote a control that tries to replicate the error list seen in Visual studio.

The control is dependant on .NET 3.5 SP1. because it uses the WPFToolkit.

I'm hosting a sample here. [Update August 2012 My host has stopped xbap application types, sorry]