title: windows store apps How to bind visibility of an appbar item?
body: <p>I have some problems with binding a visibility property of an appbar button.
  I want to bind an appbar button visibility to another element visibility.
  If the another element is visible - then the appbar is visible.</p>
  
  <p>So here is my code:</p>
  
  <pre><code>&lt;common:LayoutAwarePage.BottomAppBar&gt;
      &lt;AppBar&gt;
          &lt;StackPanel Orientation="Horizontal" HorizontalAlignment="Right"&gt;
              &lt;Button Visibility="{Binding ElementName=btnSave, Path=Visibility}"
                      Click="Edit_Click" /&gt;
               ...(more buttons)
          &lt;/StackPanel&gt;
      &lt;/AppBar&gt;
  &lt;/common:LayoutAwarePage.BottomAppBar&gt;
  
  &lt;Button Grid.Row="7" Grid.Column="0"
       x:Name="btnSave"
       Content="Save"
       Style="{StaticResource EditModeButtonStyle}"
       Click="Save_Click" /&gt;
  </code></pre>
  
  <p>I am changing the btnSave visibility in the code behind and no reaction in the appbar button's visibility. I have even tried to do the same binding with just a textblock, and it worked fine. I have also tried to use converter on the appbar (even thought I don't need) and I saw that the debugger was not reading the converter's methods. I saw some more people wrote similar appbar problems, but nothing of the answers is not helping me. Does someone know how can I do it? (I don't want to use code behind to change appbar visibility).</p>