title: Getting the Dispatcher of a Window in UWP
body: <p>Here are some of the ways to get the dispatcher of the view.</p>
  
  <blockquote>
    <p>Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher</p>
  </blockquote>
  
  <p>and </p>
  
  <blockquote>
    <p>Windows.ApplicationModel.Core.CoreApplication.GetCurrentView().CoreWindow.Dispatcher</p>
  </blockquote>
  
  <p>While the first one returns the dispatcher of the mainview, and the latter returns the dispatcher of the active view, 
  <strong>How can I get the dispatcher of a view which is not active?</strong> </p>