WPF ListView programmatically deselect item

For OP or others looking to "programmatically" deselect a ListView. If your ListView rigged up as Single, Extended or Multiple you can always just:

YourlistView.Selecteditem = null;

Looks like you are just missing the TargetType for the style. Add the target type of ListViewItem as per Kent's original code below.

<ListView.ItemContainerStyle>         
    <Style TargetType="ListViewItem">             
        <Setter Property="IsSelected" Value="{Binding IsGroovy}"/>               
    </Style>   
</ListView.ItemContainerStyle>