I'm populating a listview with checkbox listview items. Currently the only way to check the box is by clicking on just the box. How can I extend this to make the content of the listview item activate the checkbox also
<CheckBox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Margin="2"
IsChecked="{Binding IsSelected, Mode=TwoWay}" Content="{Binding Value}" ContentTemplate="{Binding FilterValueTemplate, ElementName=Q_ROOT}"/>
Above was in my theming, below is the actual view.
<StackPanel Orientation="Horizontal">
<CheckBox VerticalAlignment="Center" Margin="2" IsChecked="{Binding IsChecked, Mode=TwoWay, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=ListViewItem}}">
<CheckBox.Content>
<ContentPresenter VerticalAlignment="Center" Content="{Binding Value}" ContentTemplate="{Binding FilterValueTemplate, ElementName=QFSP_ROOT}"/>
</CheckBox.Content>
</CheckBox>
</StackPanel>