Meer Deen

Meer Deen

  • NA
  • 350
  • 750

how to make interactivity trigger common in wpf

Feb 12 2016 12:52 AM
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)