title: Command bar button error visualization whit IsDynamicOverflowEnabled
body: <p>I have a simple bar commander with buttons. when I try to resize the window, with IsDynamicOverflowEnabled enabled, when there is no space in the command bar, the primary buttons move to the secondary ones.
  This creates this graphic problem:</p>
  
  <p><a href="https://i.stack.imgur.com/NTWSe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NTWSe.png" alt="enter image description here"></a></p>
  
  <p>The Select button is cut.</p>
  
  <p>this is the XAML of commandBar:</p>
  
  <pre><code>&lt;CommandBar x:Name="command" DefaultLabelPosition="Right" IsDynamicOverflowEnabled="True"&gt;
  </code></pre>
  
  <p>this is for for any appBarButton:</p>
  
  <pre><code>&lt;AppBarButton x:Name="searchAppBarButton" Style="{StaticResource AppBarButtonRevealStyle}" ToolTipService.ToolTip="Search" Click="searchAppBarButton_Click" Label="Search"&gt;
       &lt;AppBarButton.Content&gt;
              &lt;FontIcon x:Name="IconSearch" FontFamily="Segoe MDL2 Assets" Glyph="&amp;#xE094;" /&gt;
       &lt;/AppBarButton.Content&gt;
  &lt;/AppBarButton&gt;
  </code></pre>
  
  <p>UPDATE: 
  I found the problem, the problem is the style AppBarButtonRevealStyle of the appbarbutton.
  removing the style works correctly.
  this is the complete code:</p>
  
  <pre><code>        &lt;CommandBar Background="Transparent" DefaultLabelPosition="Right" IsDynamicOverflowEnabled="True"&gt;
          &lt;CommandBar.Content&gt;
              &lt;TextBlock Margin="10,0,0,0" Style="{StaticResource HeaderTextBlockStyle}"
                      FontSize="40"
                      Text="Command Bar"/&gt;
          &lt;/CommandBar.Content&gt;
          &lt;CommandBar.PrimaryCommands&gt;
              &lt;AppBarButton  ToolTipService.ToolTip="Layout" Style="{StaticResource AppBarButtonRevealStyle}" Label="Layout"&gt;
                  &lt;AppBarButton.Content&gt;
                      &lt;FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&amp;#xE81E;" /&gt;
                  &lt;/AppBarButton.Content&gt;
              &lt;/AppBarButton&gt;
              &lt;AppBarButton  ToolTipService.ToolTip="Layout" Style="{StaticResource AppBarButtonRevealStyle}" Label="Layout"&gt;
                  &lt;AppBarButton.Content&gt;
                      &lt;FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&amp;#xE81E;" /&gt;
                  &lt;/AppBarButton.Content&gt;
              &lt;/AppBarButton&gt;
              &lt;AppBarButton  ToolTipService.ToolTip="Layout" Style="{StaticResource AppBarButtonRevealStyle}" Label="Layout"&gt;
                  &lt;AppBarButton.Content&gt;
                      &lt;FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&amp;#xE81E;" /&gt;
                  &lt;/AppBarButton.Content&gt;
              &lt;/AppBarButton&gt;
              &lt;AppBarButton  ToolTipService.ToolTip="Layout" Style="{StaticResource AppBarButtonRevealStyle}" Label="Layout"&gt;
                  &lt;AppBarButton.Content&gt;
                      &lt;FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&amp;#xE81E;" /&gt;
                  &lt;/AppBarButton.Content&gt;
              &lt;/AppBarButton&gt;
          &lt;/CommandBar.PrimaryCommands&gt;
          &lt;CommandBar.SecondaryCommands&gt;
              &lt;AppBarButton x:Name="clearAllRecentDocument" ToolTipService.ToolTip="Clear All" 
                            Label="Clear All"
                            Icon="Delete" LabelPosition="Collapsed" &gt;&lt;/AppBarButton&gt;
          &lt;/CommandBar.SecondaryCommands&gt;
  </code></pre>
  
  <p></p>