I'm trying to select multiple checkboxes inside a listbox by clinking the row. it's working fine when click performs on checkbox content.
Xaml:
<ListBox ItemsSource="{Binding Templates}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox Content="{Binding Name}"
Margin="0 2 0 0"
Style="{StaticResource BaseCheckBox}"
IsChecked="{Binding IsSelected}"
HorizontalAlignment="Stretch"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>