Skip to main content
Home Forums Silverlight Programming Programming with .NET - General ListBoxItem Border Visibility
2 replies. Latest Post by TomBeeby on July 7, 2009.
(0)
tzatcha
Member
4 points
12 Posts
07-07-2009 7:14 PM |
As I've been going through Scott Gu's Tutorial series (Part 5) I noticed his screen shots show the border with all the listitems. However when I write the code (Silverlight 2.0) and run it, I have no borders and just white background. So I end up with no separtation between items. What am I missing?
http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-5-using-the-listbox-and-databinding-to-display-list-data.aspx
SLMonster
299 points
65 Posts
07-07-2009 11:05 PM |
You need to create template for ListBoxItem see example below
<
TomBeeby
Participant
1151 points
188 Posts
07-07-2009 11:20 PM |
I responded to your question in the "Getting Started" forum
http://silverlight.net/forums/t/107704.aspx