title: How to set selected area in Listbox
body: <p>I need to do something like that:</p>
  
  <p><img src="https://i.stack.imgur.com/tfIIz.png" alt="enter image description here"></p>
  
  <p>It's Listbox with custom DataTemplate for elements. (I drew green a whole one element of list.)</p>
  
  <p>Now I have this:</p>
  
  <p><img src="https://i.stack.imgur.com/aMu7b.png" alt="enter image description here"></p>
  
  <p>If it's real - how to change my DataTemplate(or Listbox styles) to get first resul? (Somehow to set selected area)</p>
  
  <p>DataTemplate</p>
  
  <pre><code>&lt;DataTemplate x:Key="TrackDataTemplate"&gt;
      &lt;Grid Margin="0,-5,0,0"&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="Auto"/&gt;
              &lt;RowDefinition Height="Auto"/&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="70"/&gt;
              &lt;ColumnDefinition Width="Auto"/&gt;
              &lt;ColumnDefinition Width="*"/&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  
          &lt;TextBlock Text="{Binding FirstPlatformName}" Grid.Row="0" Grid.Column="0"/&gt;
          &lt;Path x:Name="Node"
              Margin="10,0" Grid.Row="0" Grid.Column="1"
              Data="M3.1999443,36.501999 L47.300057,36.501999 47.292366,36.517475 C43.192585,44.521747 34.86105,50 25.25,50 15.638952,50 7.3074172,44.521747 3.2076359,36.517475 z M25.25,0.5 C38.919049,0.49999976 50,11.580952 50,25.25 50,27.599367 49.672657,29.87228 49.061096,32.025615 L48.919384,32.501999 1.5806161,32.501999 1.438906,32.025615 C0.82734287,29.87228 0.5000003,27.599367 0.5,25.25 0.5000003,11.580952 11.580953,0.49999976 25.25,0.5 z"
              Fill="{DynamicResource white75}" Stretch="Fill"
              Width="17"  Height="17"/&gt;
          &lt;Rectangle x:Name="Connection" Grid.Row="1" Grid.Column="1"
              HorizontalAlignment="Center" VerticalAlignment="Top"
              Fill="{DynamicResource white75}"  Height="17" Width="4" Margin="10,2,10,0"/&gt;
          &lt;TextBlock Grid.Row="1" Grid.Column="2" TextWrapping="Wrap"
              Text="{Binding TsAndChannelNumber}"/&gt;
      &lt;/Grid&gt;
  &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>Listbox</p>
  
  <pre><code>&lt;ListBox Grid.Column="1"
      SelectedItem="{Binding SelectedTrackSegment}"
      ItemsSource="{Binding SelectedTrack.Segments}"
      ItemTemplate="{StaticResource TrackDataTemplate}"
      Margin="30,20,30,0"/&gt;
  </code></pre>