首页 > 其他分享 >uwp 的个人名片

uwp 的个人名片

时间:2023-06-06 17:32:00浏览次数:37  
标签:名片 个人 uwp 二维码 manupstairs 朋友圈 星级 邢政


uwp 的个人名片_Glyph

 

 

 

xml code
----------------------------------------------------------------------
  <Page
    x:Class="AdaptiveLayout.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AdaptiveLayout"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
 
    <Grid x:Name="GridRootLayout" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="12">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup>
                <VisualState >
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="769" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="GridRootLayout.HorizontalAlignment" Value="Left"></Setter>
                        <Setter Target="GridRootLayout.VerticalAlignment" Value="Top"></Setter>
                        <Setter Target="GridRootLayout.Width" Value="320"></Setter>
                        <Setter Target="GridRootLayout.Height" Value="640"></Setter>
                    </VisualState.Setters>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="2.5*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="3*"></RowDefinition>
        </Grid.RowDefinitions>
 
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <FontIcon Grid.Column="0" Glyph="" />
            <TextBlock Grid.Column="1" Style="{StaticResource SubtitleTextBlockStyle}" HorizontalAlignment="Left">个人名片</TextBlock>
            <TextBlock Grid.Column="2" Style="{StaticResource CaptionTextBlockStyle}" VerticalAlignment="Center" >编辑</TextBlock>
        </Grid>
 
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="*"></RowDefinition>
            </Grid.RowDefinitions>
            <Ellipse Grid.Row="1" Width="60" Height="60"  >
                <Ellipse.Fill>
                    <ImageBrush ImageSource="Assets/xingzheng.jpg" ></ImageBrush>
                </Ellipse.Fill>
            </Ellipse>
            <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
                <TextBlock Style="{StaticResource SubtitleTextBlockStyle}" VerticalAlignment="Center">邢政</TextBlock>
                <FontIcon Glyph=""></FontIcon>
            </StackPanel>
            <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center">
                <TextBlock Style="{StaticResource BodyTextBlockStyle}" Foreground="LightGray">易信号:</TextBlock>
                <TextBlock Style="{StaticResource BodyTextBlockStyle}"  Foreground="LightGray">manupstairs</TextBlock>
            </StackPanel>
        </Grid>
 
        <Grid Grid.Row="2" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition Width="5*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock VerticalAlignment="Center">星级</TextBlock>
            <FontIcon Grid.Column="1" Glyph="" HorizontalAlignment="Left" />
        </Grid>
        <Grid Grid.Row="3" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition Width="5*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock VerticalAlignment="Center">二维码</TextBlock>
            <FontIcon Grid.Column="1"  Glyph="" HorizontalAlignment="Left"></FontIcon>
        </Grid>
        <Grid Grid.Row="4" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition Width="5*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock VerticalAlignment="Center">地区</TextBlock>
            <TextBlock Grid.Column="1" VerticalAlignment="Center">上海</TextBlock>
        </Grid>
        <Grid Grid.Row="5" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition Width="5*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock VerticalAlignment="Center">朋友圈</TextBlock>
            <Image Grid.Column="1" Source="Assets/Square44x44Logo.png" HorizontalAlignment="Left" ></Image>
        </Grid>
    </Grid>
</Page>
 
 
 
<Page    x:Class="AdaptiveLayout.MainPage"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:local="using:AdaptiveLayout"    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d">
    <Grid x:Name="GridRootLayout" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="12">        <VisualStateManager.VisualStateGroups>            <VisualStateGroup>                <VisualState >                    <VisualState.StateTriggers>                        <AdaptiveTrigger MinWindowWidth="769" />                    </VisualState.StateTriggers>                    <VisualState.Setters>                        <Setter Target="GridRootLayout.HorizontalAlignment" Value="Left"></Setter>                        <Setter Target="GridRootLayout.VerticalAlignment" Value="Top"></Setter>                        <Setter Target="GridRootLayout.Width" Value="320"></Setter>                        <Setter Target="GridRootLayout.Height" Value="640"></Setter>                    </VisualState.Setters>                </VisualState>            </VisualStateGroup>        </VisualStateManager.VisualStateGroups>        <Grid.RowDefinitions>            <RowDefinition Height="Auto"></RowDefinition>            <RowDefinition Height="2.5*"></RowDefinition>            <RowDefinition Height="*"></RowDefinition>            <RowDefinition Height="*"></RowDefinition>            <RowDefinition Height="*"></RowDefinition>            <RowDefinition Height="*"></RowDefinition>            <RowDefinition Height="3*"></RowDefinition>        </Grid.RowDefinitions>
        <Grid Grid.Row="0">            <Grid.ColumnDefinitions>                <ColumnDefinition Width="Auto"></ColumnDefinition>                <ColumnDefinition Width="*"></ColumnDefinition>                <ColumnDefinition Width="Auto"></ColumnDefinition>            </Grid.ColumnDefinitions>            <FontIcon Grid.Column="0" Glyph="" />            <TextBlock Grid.Column="1" Style="{StaticResource SubtitleTextBlockStyle}" HorizontalAlignment="Left">个人名片</TextBlock>            <TextBlock Grid.Column="2" Style="{StaticResource CaptionTextBlockStyle}" VerticalAlignment="Center" >编辑</TextBlock>        </Grid>
        <Grid Grid.Row="1">            <Grid.RowDefinitions>                <RowDefinition Height="*"></RowDefinition>                <RowDefinition Height="Auto"></RowDefinition>                <RowDefinition Height="*"></RowDefinition>                <RowDefinition Height="*"></RowDefinition>            </Grid.RowDefinitions>            <Ellipse Grid.Row="1" Width="60" Height="60"  >                <Ellipse.Fill>                    <ImageBrush ImageSource="Assets/xingzheng.jpg" ></ImageBrush>                </Ellipse.Fill>            </Ellipse>            <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">                <TextBlock Style="{StaticResource SubtitleTextBlockStyle}" VerticalAlignment="Center">邢政</TextBlock>                <FontIcon Glyph=""></FontIcon>            </StackPanel>            <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center">                <TextBlock Style="{StaticResource BodyTextBlockStyle}" Foreground="LightGray">易信号:</TextBlock>                <TextBlock Style="{StaticResource BodyTextBlockStyle}"  Foreground="LightGray">manupstairs</TextBlock>            </StackPanel>        </Grid>
        <Grid Grid.Row="2" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">            <Grid.ColumnDefinitions>                <ColumnDefinition></ColumnDefinition>                <ColumnDefinition Width="5*"></ColumnDefinition>            </Grid.ColumnDefinitions>            <TextBlock VerticalAlignment="Center">星级</TextBlock>            <FontIcon Grid.Column="1" Glyph="" HorizontalAlignment="Left" />        </Grid>        <Grid Grid.Row="3" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">            <Grid.ColumnDefinitions>                <ColumnDefinition></ColumnDefinition>                <ColumnDefinition Width="5*"></ColumnDefinition>            </Grid.ColumnDefinitions>            <TextBlock VerticalAlignment="Center">二维码</TextBlock>            <FontIcon Grid.Column="1"  Glyph="" HorizontalAlignment="Left"></FontIcon>        </Grid>        <Grid Grid.Row="4" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">            <Grid.ColumnDefinitions>                <ColumnDefinition></ColumnDefinition>                <ColumnDefinition Width="5*"></ColumnDefinition>            </Grid.ColumnDefinitions>            <TextBlock VerticalAlignment="Center">地区</TextBlock>            <TextBlock Grid.Column="1" VerticalAlignment="Center">上海</TextBlock>        </Grid>        <Grid Grid.Row="5" BorderThickness="0,0,0,1" BorderBrush="#EEEEEE">            <Grid.ColumnDefinitions>                <ColumnDefinition></ColumnDefinition>                <ColumnDefinition Width="5*"></ColumnDefinition>            </Grid.ColumnDefinitions>            <TextBlock VerticalAlignment="Center">朋友圈</TextBlock>            <Image Grid.Column="1" Source="Assets/Square44x44Logo.png" HorizontalAlignment="Left" ></Image>        </Grid>    </Grid></Page>


标签:名片,个人,uwp,二维码,manupstairs,朋友圈,星级,邢政
From: https://blog.51cto.com/u_4018548/6426516

相关文章

  • 本学期个人总结以及课程建议
    我的问题:1:我们的软件工程的未来到底在哪里?2:现在的自学编程是否还具有可学习的目的?3:对于深度学习模型,学习的应用场景到底在哪里,是单纯的增长见识还是会有具体的应用?首先是对于第一周计划实现程度,面对与十六周前订下的目标并没有完全实现上学期摆烂然后导致本该利用与上学期的......
  • 软件工程个人总结
    回顾第一周的计划,我觉得完成度大概在80%,每天有时间便编程什么是构建之法?构建之法是指在软件开发过程中,采用一系列固定的方法和规则来保证软件质量、可维护性和可扩展性。该方法强调“定义-构建-验证-改进”的循环过程,并倡导使用自动化工具和流程来增强软件开发的效率和质量......
  • uwp 之吐司 toast
    Toast--------------------------------------------------------------vart=Windows.UI.Notifications.ToastTemplateType.ToastText02;//在模板添加xml要的标题varcontent=Windows.UI.Notifications.ToastNotificationManager.GetTemplateCont......
  • uwp 之资源的访问
     访问image资源-----------------------------------------------------------------------------BitmapImagebitmapImage=newBitmapImage();img.Width=bitmapImage.DecodePixelWidth=80;//naturalpxwidthofimagesource......
  • uwp Button的动态效果
    你应该覆盖Button样式<Page.Resources><StyleTargetType="Button"x:Key="CustomButtonStyle"><SetterProperty="Background"Value="{ThemeResourceSystemControlBackgroundBaseLowBrush}"/>......
  • Python学习的个人笔记
    python基础知识目录:Python基础语法:(1)打印出helloworld(2)注释(3)数据类型(4)运算(5)输入(6)输出(7)序列(8)相等比较(9)选择(10)循环(11)字典(dict)(12)集合(set)(不常用)(14)pass,del,exec,eval(15)内建函数Python进阶语法:(1)文件(2)错误和异常(3)模块和包(4)作用域(5)高阶函数(6)装饰器(7)参数(8)面......
  • 个人总结
    1、回顾我的课程计划,当时写的是独立完成一个软件,这件事在建民老师让我们做打卡软件的时候就已经完成,然后就是对软件更多的功能进行了学习。2、《构建之法》这本书的内容逻辑很清晰明了,第一章是从整体分析软件工程这门学科的发展和所处的社会环境,接着后面的几章深入分析了软件开......
  • 个人读书推荐
    评分,与个人主观判断影响较大,如有不同见解还请指教。Redis设计与实现(......
  • 软件工程日报——个人总结
    今天,我想对自己进行一次个人总结1、回顾课程在我刚开始本学期的学习时,我写了一个开课博客,在博客中,我提到了本学期的目标:在保证软件工程不挂科的前提下,完成更多的安卓应用的开发,了解更多的软件知识,加强增删改查的练习;目标就是能够完成安卓应用的开发在结课之余,回顾这个学期的表......
  • 以下是一些注册表编辑器,注册表编辑器都具有不同的功能和特点,可根据用户的需求和个人偏
    以下是一些注册表编辑器:注册表编辑器都具有不同的功能和特点,可根据用户的需求和个人偏好进行选择RegCool:RegCool是一款开源的注册表编辑器,拥有强大的搜索和替换功能、快速寻找更改、备份、还原等常见注册表操作。它支持导入和导出某个部分或整个注册表,以及在键值中执行批量修......