ComboBox AutoSelection while Typing in Silverlight 5

By | April 15, 2011

Silverlight 5 introduces a new feature for its existing ComboBox to auto – discover items from the list while the user types text. It has a new property called DisplayMemberPath where Text should be placed which needs to be searched. If you have ever worked with ASP.NET, it would be very easy to grab.

<ComboBox DisplayMemberPath="YourMember" ItemsSource="{Binding MyItems}" />

The DisplayMemberPath will automatically find YourMember as property from the list of objects associated in MyItems.