728x90
728x170
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    x:Class="Maui.SimpleToolKitTest.MainPage"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:simpleCore="clr-namespace:SimpleToolkit.Core;assembly=SimpleToolkit.Core">

    <ScrollView>
        <VerticalStackLayout
            Padding="30,0"
            Spacing="25"
            VerticalOptions="Center">

            <HorizontalStackLayout HorizontalOptions="Center">
                <simpleCore:Icon
                    Source="keilogo.png"
                    TintColor="Black"
                    WidthRequest="50" />
                <simpleCore:Icon
                    Source="keilogo.png"
                    TintColor="Gray"
                    WidthRequest="50" />
                <simpleCore:Icon
                    Source="keilogo.png"
                    TintColor="Orange"
                    WidthRequest="50" />
                <simpleCore:Icon
                    Source="keilogo.png"
                    TintColor="SkyBlue"
                    WidthRequest="50" />
                <simpleCore:Icon
                    Source="keilogo.png"
                    TintColor="#CEAA44"
                    WidthRequest="50" />
                <simpleCore:Icon
                    Source="keilogo.png"
                    TintColor="#2B6747"
                    WidthRequest="50" />
            </HorizontalStackLayout>
            <Button
                x:Name="CounterBtn"
                Clicked="OnCounterClicked"
                HorizontalOptions="Center"
                SemanticProperties.Hint="Counts the number of times you click"
                Text="Click me" />

        </VerticalStackLayout>
    </ScrollView>

</ContentPage>

이미지의 색을 원하는 색으로 변경해줍니다.

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

728x90
그리드형
Posted by kjun
,