.NET MAUI Preview 13 发布

栏目: 软件资讯 · 发布时间: 4年前

内容简介:.NET MAUI Preview 13 现已发布。除了质量改进之外,这个版本还包括几个实现,如 Label.FormattedText。官方曾表示,其计划在 2022 年第一季度交付候选版本,并在 2022 年第二季度交付最终版本。 整个页面是一个单...

.NET MAUI Preview 13 现已发布。除了质量改进之外,这个版本还包括几个实现,如 Label.FormattedText。官方曾表示,其计划在 2022 年第一季度交付候选版本,并在 2022 年第二季度交付最终版本。

.NET MAUI Preview 13 发布

整个页面是一个单独的Label控件,模仿 Windows font preview

<Label LineBreakMode="NoWrap" LineHeight="1.4">
    <Label.FormattedText>
        <FormattedString>
            <Span Text="Font name: Default &#010;"/>
            <Span Text="Version: 1.00  &#010;"/>
            <Span Text="Digitally Signed, TrueType Outlines &#010;"/>
            <Span Text="abcdefghijklmnopqrstuvwxyz "/>
            <Span Text="abcdefghijklmnopqrstuvwxyz &#010;" TextTransform="Uppercase"/>
            <Span Text="1234567890.:,;'+-*/=  &#010;"/>
            <Span Text="12 The quick brown fox jumps over the lazy dog. 1234567890 &#010;" FontSize="12"/>
            <Span Text="18 The quick brown fox jumps over the lazy dog. 1234567890 &#010;" FontSize="18"/>
            <Span Text="24 The quick brown fox jumps over the lazy dog. 1234567890 &#010;" FontSize="24"/>
            <Span Text="36 The quick brown fox jumps over the lazy dog. 1234567890 &#010;" FontSize="36"/>
            <Span Text="48 The quick brown fox jumps over the lazy dog. 1234567890 &#010;" FontSize="48"/>
            <Span Text="60 The quick brown fox jumps over the lazy dog. 1234567890 &#010;" FontSize="60"/>
            <Span Text="72 The quick brown fox jumps over the lazy dog. 1234567890 " FontSize="72"/>
        </FormattedString>
    </Label.FormattedText>
</Label>

新版本具体亮点内容如下:

可在发行说明和迁移指南中查找更多详细信息。

微软方面表示,其在 .NET MAUI 中做出的一个关键的 .NET alignment 启发设计决策是采用 Microsoft.Extensions builder 模式来引导应用程序。

此版本删除了 Microsoft.Extensions.Hosting,以加快应用程序的启动时间,尤其适用于 Android。

更多详情了查看发布公告


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

Algorithms to Live By

Algorithms to Live By

Brian Christian、Tom Griffiths / Henry Holt and Co. / 2016-4-19 / USD 30.00

A fascinating exploration of how insights from computer algorithms can be applied to our everyday lives, helping to solve common decision-making problems and illuminate the workings of the human mind ......一起来看看 《Algorithms to Live By》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具