<Page.BottomAppBar>
        <AppBar>
            <AppBar.Resources>
                <Style x:Key="MyAppBarButtonStyle" TargetType="Button" BasedOn="{StaticResource AppBarButtonStyle}">
                    <Setter Property="AutomationProperties.AutomationId" Value="MyAppBarButton"/>
                    <Setter Property="AutomationProperties.Name" Value="My Button"/>
                    <Setter Property="Content" Value="❁"/>
                </Style>
            </AppBar.Resources>
            <StackPanel x:Name="LeftPanel" Orientation="Horizontal" Grid.Column="0" HorizontalAlignment="Left">
                <Button x:Name="Edit" Style="{StaticResource MyAppBarButtonStyle}" Tag="MyButton"/>
            </StackPanel>
        </AppBar>
    </Page.BottomAppBar>

  http://social.msdn.microsoft.com/Forums/zh-CN/metroappzhcn/thread/e2a23a8f-9e29-46f7-bc3a-a28558f46a6d/

相关文章:

  • 2021-05-06
  • 2021-07-17
  • 2021-12-22
  • 2021-12-03
  • 2022-01-05
猜你喜欢
  • 2022-01-29
  • 2022-12-23
  • 2021-09-26
  • 2022-01-11
  • 2021-05-25
  • 2022-02-24
相关资源
相似解决方案