My question is almost the same question as here.
My CommandBar
is supposed to have these buttons:
<CommandBar
DefaultLabelPosition="Right"
Style="{StaticResource PlaylistCommandBarStyle}">
<AppBarButton
Icon="Shuffle"
Style="{StaticResource PlaylistAppBarButtonStyle}" />
<AppBarButton
Icon="Add"
Style="{StaticResource PlaylistAppBarButtonStyle}" />
<AppBarButton
Icon="Rename"
Style="{StaticResource PlaylistAppBarButtonStyle}" />
<AppBarButton
Icon="Pin"
Style="{StaticResource PlaylistAppBarButtonStyle}" />
<AppBarButton
Icon="Clear"
Style="{StaticResource PlaylistAppBarButtonStyle}"
Visibility="Collapsed" />
<AppBarButton
Icon="Delete"
Style="{StaticResource PlaylistAppBarButtonStyle}" />
</CommandBar>
When the window size is not large enough to hold the last delete button, it should go to overflow and then show a More Button instead. However, the more button is not shown unless I resize the window.
The answer here is very complicated. I wonder if there is a simpler solution.
PlaylistAppBarButtonStyle
is here.
PlaylistCommandBarStyle
is here.