您的位置:首页 > 移动开发

Windows 8 Metro 应用开发App Bar问题

2012-08-16 23:09 681 查看
<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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: