title: Windows Phone 8 ApplicationBar expanded unchangable transparancy
body: <p>following Code...</p>
  
  <pre><code>&lt;!--Navigation-Bar--&gt;
  &lt;phone:PhoneApplicationPage.ApplicationBar&gt;
      &lt;shell:ApplicationBar IsVisible="True" ForegroundColor="White" IsMenuEnabled="True" BackgroundColor="#002B55"&gt;
          &lt;shell:ApplicationBarIconButton Click="B_Search_Click" IconUri="Images\Pic_Search.png" Text="Search"/&gt;
          &lt;shell:ApplicationBarIconButton Click="B_Media_Click" IconUri="Images\Pic_Media.png" Text="Media"/&gt;
          &lt;shell:ApplicationBarIconButton Click="B_Scan_Click" IconUri="Images\Pic_Scan.png" Text="Scanner"/&gt;
          &lt;shell:ApplicationBarIconButton Click="B_Charts_Click" IconUri="Images\Pic_Charts.png" Text="Charts"/&gt;
          &lt;shell:ApplicationBar.MenuItems&gt;
              &lt;shell:ApplicationBarMenuItem Click="B_Logout_Click" Text="Logout"/&gt;
          &lt;/shell:ApplicationBar.MenuItems&gt;
      &lt;/shell:ApplicationBar&gt;
  &lt;/phone:PhoneApplicationPage.ApplicationBar&gt;
  </code></pre>
  
  <p>gives me following ApplicationBar...</p>
  
  <p><a href="http://s14.directupload.net/file/d/3341/4xiadbvz_jpg.htm" rel="nofollow">http://s14.directupload.net/file/d/3341/4xiadbvz_jpg.htm</a>
  (Solid background when expanded)</p>
  
  <p><em>BUT</em> if I create the AppBar in CodeBehind like this...</p>
  
  <pre><code> private void ResetApplicationBar()
          {
              ApplicationBar = new ApplicationBar();
              ApplicationBar.BackgroundColor = Color.FromArgb(150, 0, 43, 85);;
              ApplicationBar.ForegroundColor = Colors.White;
              ApplicationBar.Opacity = 1;
  
              ApplicationBarIconButton B_Search = new ApplicationBarIconButton();
              B_Search.IconUri = new Uri("/Images/Pic_Search.png", UriKind.Relative);
              B_Search.Text = "search";
              ApplicationBar.Buttons.Add(B_Search);
              B_Search.Click += new EventHandler(B_Search_Click);
  
              (more Buttons...)
  </code></pre>
  
  <p>then I get that misterios unchangable Transparency...</p>
  
  <p><a href="http://s1.directupload.net/file/d/3341/zjo57e37_jpg.htm" rel="nofollow">http://s1.directupload.net/file/d/3341/zjo57e37_jpg.htm</a>
  (Half-Transparent when expanded)</p>
  
  <p>How can I change the Background to solid???
  -Yes I have mostly overwritten the theme
  -Changing global colors doesnt work
  -changing background/foreground doesnt work
  -changing opacity doesnt work...</p>
  
  <p>I need to generate it from code behind because im changing it dynamically in one window
  (or is it possible to define multiple AppBars in markup?)</p>
  
  <p>Thanks in advance!</p>