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
그리드형
'C# > Xamarin Maui' 카테고리의 다른 글
[.NET MAUI] SimpleToolkit.Core - 앱 화면 상태바까지 확장하기 (0) | 2022.09.21 |
---|---|
[.NET MAUI] SimpleToolkit.Core - Button Custom Design (0) | 2022.09.21 |
[.NET MAUI] SimpleToolkit.Core - 설치 및 설정 (0) | 2022.09.21 |
[.NET MAUI] SQLITE 사용하기 (0) | 2022.09.20 |
[.NET MAUI] UniformItemsLayout 사용하기 (0) | 2022.09.16 |