Как выровнять AppBarButton по горизонтали в командной строке
Я хочу выровнять мой синглAppBarButton
направо наCommandBar
вPage.BottomBar
?
В дизайне это показываетapp bar button
с правой стороны, но в эмуляторе кнопка всегда в центре?
Есть ли способ выровнятьAppBarButton
вpage bottom bar
?
Редактировать:
<Page.BottomAppBar>
<CommandBar HorizontalAlignment="Right" HorizontalContentAlignment="Right">
<CommandBar.PrimaryCommands>
<AppBarButton Margin="100,0,0,0" HorizontalAlignment="Right" HorizontalContentAlignment="Right" IsEnabled="True" Name="btnNext" Icon="Next" x:Uid="AppBarNext" Label="Next1"></AppBarButton>
</CommandBar.PrimaryCommands>
</CommandBar>
</Page.BottomAppBar>