WPF ListBoxItem events never called
问题 I want to trigger events on a ListBoxItem <ListBox.ItemTemplate> <DataTemplate> </DataTemplate> </ListBox.ItemTemplate> <ListBox.ItemContainerStyle> <Style TargetType="ListBoxItem"> <EventSetter Event="Drop" Handler="Item_Drop"/> <EventSetter Event="PreviewMouseLeftButtonDown" Handler="Item_PreviewMouseLeftButtonDown" /> </Style> </ListBox.ItemContainerStyle> </ListBox> In Code behind, there are the two eventhandlers private void Item_Drop(object sender, DragEventArgs e) { } private void Item