ComboBox AutoSelection while Typing in Silverlight 5

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.

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.