• 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

  • 相关阅读:
    换盘符cd的用法
    matplotlib.pyplot 属性用法
    类 __init__的注意事项
    Python File(文件) 方法
    Spyder 快捷键
    python路径引用r的含义
    VBA+SQL transform pivot union联合查询的基础应用
    Box-Cox变换
    静态字段引用的对象为什么不会被GC回收
    编译hotspot8
  • 原文地址:https://www.cnblogs.com/androllen/p/4522816.html
Copyright © 2020-2023  润新知