1
Reply

how to make interactivity trigger common in wpf

Meer Deen

Meer Deen

8 years ago
383
i wnat to make it common for multiple listboxs on my wpf window 
<i:Interaction.Triggers>
     <i:EventTrigger EventName="SelectionChanged">
                     <i:InvokeCommandAction Command="{Binding MyCommand}" CommandParameter="{Binding ElementName=employeeListBox, Path=SelectedValue}"/>
      </i:EventTrigger>
</i:Interaction.Triggers>

Answers (1)