title: How to select TreeViewItem on select
body: <pre><code>        &lt;HierarchicalDataTemplate x:Key="SchemTemplate"&gt;
              &lt;TextBlock Text="{Binding Path=path}" /&gt;
          &lt;/HierarchicalDataTemplate&gt;
  
          &lt;HierarchicalDataTemplate x:Key="SchemesTemplate"&gt;
              &lt;TreeViewItem TextBlock.FontStyle="Italic" 
                            Header="{Binding name}" 
                            ItemsSource="{Binding schemes}"
                            ItemTemplate="{StaticResource SchemTemplate}" /&gt;
          &lt;/HierarchicalDataTemplate&gt;
  
          &lt;DataTemplate x:Key="ProjectTemplate"&gt;                
              &lt;TreeView&gt;
                  &lt;TreeViewItem Header="{Binding Path=name}"
                                ItemsSource="{Binding schemes}"
                                ItemTemplate="{StaticResource SchemesTemplate}"&gt;
                  &lt;/TreeViewItem&gt;
              &lt;/TreeView&gt;            
          &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>using:</p>
  
  <pre><code>        &lt;ListBox Style="{StaticResource ListProjectsStyle}"                         
                   x:Name="projects" 
                   Grid.Row="0" Grid.Column="0"
                   ItemsSource="{Binding projects_models, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                   ItemTemplate="{StaticResource ProjectTemplate}"
                   SelectedItem="{Binding active_project, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"&gt;
          &lt;/ListBox&gt;
  </code></pre>
  
  <p>When I click right mouse button over TreeView then ListBox's SelectedItem changed, but left click  does this. Left click puts the focus on TreeView or expand TreeView items. How can I change focus on ListBox when focus is on TreeView?   </p>