• Win10 AppBar


    <Page.BottomAppBar>
    <CommandBar x:Name="cmdBar" Background="Transparent" Foreground="Black" >
    <AppBarButton x:Name="openCamera" Icon="View" x:Uid="AppBarBtnImage"
    Click="openCamera_Click"/>
    <AppBarButton x:Name="saveImg" Icon="Scan" x:Uid="AppBarBtnLook"
    Click="saveImg_Click"/>
    </CommandBar>
    </Page.BottomAppBar>
    <AppBarButton x:Name="btn_Refresh" x:Uid="RefreshButton" Icon="Sync" />
    <AppBarButton x:Name="btn_Top" x:Uid="ToTopButton" Label="返回顶部" >
    <AppBarButton.Icon>
    <FontIcon Glyph="&#xE11C;"/>
    </AppBarButton.Icon>
    </AppBarButton>
    <AppBarButton x:Name="btn_NightMode" Icon="View" Label="s" />
    <AppBarButton x:Name="btn_Setting" x:Uid="SettingButton" Icon="Setting" />
    <AppBar >
    <StackPanel Orientation="Horizontal">
    <Button Content="Home" Width="140" Height="80" />
    <Button Content="Page 1" Width="140" Height="80"/>
    </StackPanel>
    </AppBar>

     https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.appbarbutton.aspx

    https://msdn.microsoft.com/en-US/library/windows/apps/windows.ui.xaml.controls.appbarbutton.icon.aspx

    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj841127.aspx

  • 相关阅读:
    打印水仙花数
    ios9基础知识总结(一)
    简单工厂模式自我理解
    例子
    委托
    IO 磁盘总结
    配置文件命令
    三层架构dal 层基本代码 非查询/查询
    三层架构自我总结
    三层架构源代码
  • 原文地址:https://www.cnblogs.com/luquanmingren/p/4522816.html
Copyright © 2020-2023  润新知