title: Focus wpf listbox without changing selected item
body: <h3>Listbox in a DataTemplate</h3>
  <pre><code>        &lt;ListBox 
                  ItemsSource=&quot;{Binding Path=(Duties:IPicker.Choices)}&quot;
                     SelectedValue=&quot;{Binding Path=(Duties:IPicker.Selection), 
                     ValidatesOnDataErrors=True, 
                     UpdateSourceTrigger=PropertyChanged, 
                     NotifyOnValidationError=True}&quot;&gt;
              &lt;ListBox.ItemsPanel&gt;
                  &lt;ItemsPanelTemplate&gt;
                      &lt;WrapPanel MaxWidth=&quot;{DynamicResource ListWidth}&quot; /&gt;
                  &lt;/ItemsPanelTemplate&gt;
              &lt;/ListBox.ItemsPanel&gt;
          &lt;/ListBox&gt;
  </code></pre>
  <h3>SelectedValue binding works fully Only if dont move focus when usercontrol loads</h3>
  <p>I want to focus the first element in the usercontrol when i navigate back to the control (using Prism navigation), which happens to be the listbox.</p>
  <p>But when I add the following line then every time i navigate back, the selection is reset to the first item, seen as a blue highlight - the selection does not stay at the previously selected item.</p>
  <pre><code>Loaded += (sender, e) =&gt; 
          control.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
  </code></pre>
  <p>Without the line everything works, except the listbox does not have keyboard focus (gray highlight of the previously selected listbox item rather than blue highlight).</p>
  <p>Also, the problem only happens if i focused on another listbox before navigating forward i.e. there are two lisboxes and if i stay on the first listbox before navigating forward then the correct selection is retained even with the movefocus?</p>