Can I use different templates for different types of items in a ListBox?

Posted by Byron Sommardahl on Stack Overflow See other posts from Stack Overflow or by Byron Sommardahl
Published on 2010-05-22T14:13:28Z Indexed on 2010/05/22 14:20 UTC
Read the original article Hit count: 206

Picture a listbox in Silverlight that is similar to the "feed" on facebook. Each item might be 1) a status update with an image on the left, 2) a photo thumbnail with a title, 3) a youtube video, or 4) a blog entry. Each item uses a different template. How would you accomplish this?

© Stack Overflow or respective owner

Related posts about silverlight-3.0

Related posts about windows-phone-7