title: Changing the title of the window from a user control
body: <p>I have a solution using prism with multiple shells.  I've almost got it working, but there is one thing that is stumping me. Well, two, but the answer will be the same for both since both are an attribute of the main window.</p>
  
  <p>I need to change the Title of the window when I inject a usercontrol into the Shell.  </p>
  
  <p>I'm using ViewModelLocator, IRegionManager, and running all of the navigation through the bootstrapper (Thank you Brian Lagunas for the fantastic pluralsight module, btw) </p>
  
  <p>What I need to do is change the Title of the Shell window when a new view is injected into the content region. The views are all created as UserControls. </p>
  
  <p>I currently have a standard binding for the Title in my shell.xaml code, </p>
  
  <pre><code>   Title="{Binding Title}"
  </code></pre>
  
  <p>and I'm using some very simple code in my ShellViewModel.cs to set it when the Shell initializes.</p>
  
  <pre><code>    public string ViewTitle = "&lt;window title here&gt;";
      public string Title
      {
         get { return ViewTitle; }
         set { if (ViewTitle != null) SetProperty(ref ViewTitle, value); }
      }
  </code></pre>