728x90
반응형
728x170

https://github.com/RadekVyM/SimpleToolkit/tree/main/docs/SimpleToolkit.Core

GitHub - RadekVyM/SimpleToolkit: SimpleToolkit is a .NET MAUI library of helpers and simple, easily customizable controls.

SimpleToolkit is a .NET MAUI library of helpers and simple, easily customizable controls. - GitHub - RadekVyM/SimpleToolkit: SimpleToolkit is a .NET MAUI library of helpers and simple, easily custo...

github.com

위 Nuget Package 를 사용하는 방법입니다.

1. Nuget 설치

SimpleToolkit.Core 설치


2. MauiProgram.cs 사용처리

builder.UseSimpleToolkit()

using SimpleToolkit.Core;

namespace Maui.SimpleToolKitTest
{
    public static class MauiProgram
    {
        public static MauiApp CreateMauiApp()
        {
            var builder = MauiApp.CreateBuilder();
            builder
                .UseMauiApp<App>()
                .UseSimpleToolkit()
                .ConfigureFonts(fonts =>
                {
                    fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                    fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
                });

            return builder.Build();
        }
    }
}


[Source]
https://github.com/kei-soft/KJunBlog/tree/master/Maui.SimpleToolKitTest

728x90
반응형
그리드형
Posted by kjun

댓글을 달아 주세요