I have set Interaction.Triggers to ListBox and perform respective TargetedTriggerAction when 'SelectionChanged' event occurs, like below.
<ListBox x:Name="WorksheetListBox" ItemsSource="{Binding WorkSheetCollection}"
ItemTemplate="{StaticResource workSheetTemplate}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<action:WorksheetListBoxAction />
</i:EventTrigger>
</i:Interaction.Triggers>
</ListBox>
But my requirement is I need to set Interaction.Triggers to ListBoxItem's 'PreviewMouseDown' event(Note: ListBox populated via ItemsSource)
You can do the same without use of Interactivity.dll for event handling.
You can try something like this:
you can do it the PreviewMouseDown event on the ListBoxItem