title: Windows 10 mobile, change status bar color
body: <pre><code>Windows.UI.ViewManagement.StatusBar.GetForCurrentView().ForegroundColor = Colors.White;
  </code></pre>
  
  <p>I attempted the above method, but I am getting this error:
  <a href="https://msdn.microsoft.com/en-us/library/ms228508.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/ms228508.aspx</a></p>
  
  <p>** Edit **
  Found the issue, <a href="https://social.msdn.microsoft.com/Forums/windowsapps/en-US/317ed159-75e3-4f8d-a8b7-2e70a5c68bfb/uwp10-how-to-change-statusbar-color-on-phone-and-the-title-bar-on-pcs?forum=wpdevelop" rel="nofollow">https://social.msdn.microsoft.com/Forums/windowsapps/en-US/317ed159-75e3-4f8d-a8b7-2e70a5c68bfb/uwp10-how-to-change-statusbar-color-on-phone-and-the-title-bar-on-pcs?forum=wpdevelop</a>
  It's a matter of adding the "Microsoft Mobile Extension SDK for Universal App Platform" extension to the C# project references.</p>