title: How to make style in ListView SelectedItem.?
body: <p>I am working on a WPF application and I want to make style on <code>ListViewItem</code>. I have made a style for this but this does not give me the exact result what I want. Apart from this I want <code>CornerRadius</code> in this style so how I can add this?</p>
  
  <pre><code>            &lt;ListView x:Name="MenuBarList" 
                      Grid.Row="1"
                      Height="{Binding MainMenuHeight}"  
                      Width="{Binding MainMenuWidth}" 
                      ItemsSource="{Binding Path=Menu.Options}" 
                      SelectedItem="{Binding Path=SelectedMainMenuOption, Mode=TwoWay}"
                      Foreground="White"
                      Background="Transparent" 
                      VerticalContentAlignment="Center"
                      HorizontalContentAlignment="Center"
                      HorizontalAlignment="Center"
                      VerticalAlignment="Center"
                      IsSynchronizedWithCurrentItem="True"
                      IsTabStop="False"&gt;
  
                  &lt;ListView.Style&gt;
                      &lt;Style TargetType="{x:Type ListView}"&gt;
                          &lt;Setter Property="BorderBrush" Value="White"/&gt;
                          &lt;Setter Property="BorderThickness" Value="0"/&gt;
                          &lt;Setter Property="Margin" Value="0"/&gt; 
                          &lt;Setter Property="Width" Value="300"/&gt;
                          &lt;Style.Resources&gt;
                              &lt;SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#9449b0"/&gt;
                              &lt;SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="#9449b0"/&gt;
                      &lt;/Style.Resources&gt;
                      &lt;/Style&gt;
                  &lt;/ListView.Style&gt;
  
  
                  &lt;ListView.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
  
                          &lt;StackPanel Orientation="Horizontal" Focusable="False" VerticalAlignment="Center" HorizontalAlignment="Center"&gt;
                              &lt;Image Source="{Binding IconPath}" 
                                     Focusable="False"
                                     HorizontalAlignment="Center"
                                     VerticalAlignment="Center"
                                     IsHitTestVisible="False"/&gt;
  
                              &lt;TextBlock Text="{Binding Title}" 
                                         Focusable="False" 
                                         HorizontalAlignment="Center" 
                                         VerticalAlignment="Center" 
                                         FontFamily="Segoe UI"
                                         FontSize="26"
                                         IsHitTestVisible="False"/&gt;
                          &lt;/StackPanel&gt;
                  &lt;/DataTemplate&gt;
  
                  &lt;/ListView.ItemTemplate&gt;
              &lt;/ListView&gt;
  </code></pre>