WPF MVVM: EventTrigger is not working inside CheckBox
问题 I'm building an application with WPF in MVVM style. I'm trying to make filter on my DataGrid when I check or uncheck several CheckBoxes for filtering. I've found solution with Interaction.Triggers , but it's not working for me in this case. Here is my code: <ListBox ItemsSource="{Binding PortsFilterSource}" Background="LightGray" BorderThickness="0" Grid.Column="1"> <ListBox.ItemTemplate> <DataTemplate> <CheckBox Content="{Binding Name}" IsChecked="{Binding IsChecked}"> <i:Interaction