title: How to horizontally align AppBarButton in command bar
body: <p>I want to align my single <code>AppBarButton</code> to the right on a <code>CommandBar</code> in a <code>Page.BottomBar</code>? </p>
  
  <p>In design it shows the <code>app bar button</code> at the right side but in the emulator, the button is always at the center? </p>
  
  <p>Is there a way to align <code>AppBarButton</code> in a <code>page bottom bar</code>?</p>
  
  <p><strong>Edit:</strong></p>
  
  <pre><code>&lt;Page.BottomAppBar&gt;
      &lt;CommandBar HorizontalAlignment="Right" HorizontalContentAlignment="Right"&gt;
          &lt;CommandBar.PrimaryCommands&gt;
          &lt;AppBarButton Margin="100,0,0,0" HorizontalAlignment="Right" HorizontalContentAlignment="Right" IsEnabled="True" Name="btnNext" Icon="Next" x:Uid="AppBarNext" Label="Next1"&gt;&lt;/AppBarButton&gt;
          &lt;/CommandBar.PrimaryCommands&gt;
      &lt;/CommandBar&gt;
  &lt;/Page.BottomAppBar&gt;
  </code></pre>