ListBoxItem issue cant change the Item template help please RRS feed

  • Question

  • I have been working on trying to get the ListBoxItem's Default Style to change colors. Now keep in mind my ListBoxItems are Added upon Events,when a person Joins the chat conversation. On my Chat program when a person joins the room they get added to the ListBox.

    When i join my server the name will show up in the TextBox when talking for example ::

    John > Hi..

    As for the ListBox all i get when i mouse click in that area is a Blue or White TextBlock without the Username,its like the Foreground color isnt their. Trying to get a Color Scheme of Background = "Transparent" and Foreground="Lime" on the TextBlocks for the ListBox.

    I have tried changing the ControlTemplate (FrameworkTemplate) ,ItemTemplate which is based on Databinding etc...

    Can someone help me with this so the Usernames will show up in the ListBox other than a Blue TextBlock when Clicked on..Thxs

    Friday, February 23, 2007 4:24 PM