title: WPF change visual state of datatemplate when selected in a listbox
body: <p>If I have a WPF <code>ListBox</code> which has a basic <code>ItemTemplate</code> that contains a custom user control, how can I tell the user control in the <code>DataTemplate</code> to change its visual state when its selected in the <code>ListBox</code>?</p>
  
  <p>Thanks a lot for any help you can give</p>