title: Horizontal Alignment AppBarButton - XAML
body: <p>I need to alignment "Button1" on left, and "Button2" on right, in my CommandBar.</p>
  
  <p>I try put in code " HorizontalAlignment="Left" " in "Button1" but this not alignment in left. Always stay on right alignment. </p>
  
  <p>My code is:</p>
  
  <pre><code> &lt;CommandBar x:Name="CommandBarTest" Grid.Row="1"&gt;
              &lt;AppBarButton x:Name="Button1" Label="MyButton1" Click="MyButton1_Click" HorizontalAlignment="Left"&gt;
                  &lt;AppBarButton.Content&gt;
                      &lt;Grid&gt;
                          &lt;Border Margin="4,-1,0,13" Canvas.ZIndex="1" CornerRadius="15" Background="Black" Height="19" Width="19" HorizontalAlignment="Left"&gt;
                              &lt;TextBlock Text="2" FontFamily="Segoe UI" FontSize="12" Foreground="White" TextLineBounds="Tight" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="3,5"&gt;&lt;/TextBlock&gt;
                          &lt;/Border&gt;
                          &lt;TextBlock FontFamily="Segoe MDL2 Assets" FontSize="24" Text="&amp;#xE7EE;" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="12,3,12,4"&gt;&lt;/TextBlock&gt;
                      &lt;/Grid&gt;
                  &lt;/AppBarButton.Content&gt;
              &lt;/AppBarButton&gt;
              &lt;AppBarButton x:Name="Button2" Label="MyButton2"&gt;
                  &lt;AppBarButton.Content&gt;
                      &lt;Button Content="&amp;#xE840;" HorizontalAlignment="Center" FontFamily="Segoe MDL2 Assets" FontSize="20" Width="32" Height="32" Padding="0" Background="Transparent"/&gt;
                  &lt;/AppBarButton.Content&gt;
              &lt;/AppBarButton&gt;
   &lt;/CommandBar&gt;
  </code></pre>
  
  <p>Someone Help me?</p>
  
  <p>Thanks</p>