.NET MAUI Preview 13 Yenilikleri

Merhabalar,

Visual Studio 17.2 Preview 1 versiyonu ile kullanabileceğimiz Preview 13 yayınlandı. Preview 13 genel olarak önceki versiyonlardaki gelen yeniliklere iyileştirme patchi gibi düşünebiliriz. Özellikle Android tarafı için yapılan Microsoft.Extensions.Hosting’in kaldırılması güzel bir gelişme.

Label içerisinde Span kullanılarak farklı yazı tiplerini kullanabiliyoruz.

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

Preview 13 için release note incelemenizi öneririm.

https://github.com/dotnet/maui/releases/tag/6.0.200-preview.13.2

Yiğit

Xamarin Developer, Consultant & Architect. Community Leader and Director of Xamarin Türkiye

Post A Reply