locked
listbox selection color when data template RRS feed

  • Question

  • I see how you can change selection color with IsSelected event when you have a ListItem child.  But how to do the same thing when your child is a data item template?  TIA
    Thursday, May 22, 2008 9:33 PM

All replies

  • You need to edit the ItemContainerStyle of the ListBox. Select the ListBox, Object Menu -> Edit Other Styles -> Edit ItemContainerStyle. Then Object menu -> Edit Control Parts (Template) -> Edit Template.

    You will now see the triggers that you can modify.

    Thanks,
    Unni
    Friday, May 23, 2008 6:05 PM
    Moderator