title: customize the Border property with CornerRadius for ListBox
body: <p>I want to customize the following Listbox-display property of border with CornerRadius=5..can anyone help me to achieve it without changing the existing datatemplate code in the following Xaml code: </p>
  
  <pre><code>&lt;ListBox x:Uid="lst_value"  Name="lstValues" Background="Wheat" BorderBrush="Black"
           HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" Height="100" Width="150"
           ItemsSource="{Binding listval}" &gt;
      &lt;ListBox.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackPanel Orientation="Vertical" Background="{Binding}"&gt;
                  &lt;TextBlock x:Name="txtblk" Foreground="Black" FontSize="10"  TextAlignment="Left" 
                                                 FontWeight="Black" Text="{Binding}" Background="{Binding}"&gt;&lt;/TextBlock&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>