728x90
반응형
728x170
▶ ContactPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="TestProject.ContactPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TestProject"
IconImageSource="sample1.png"
Title="연락처"
BackgroundColor="White">
<StackLayout>
<Label Text="연락처 페이지"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand" />
</StackLayout>
</ContentPage>
728x90
▶ TodoListPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="TestProject.TodoListPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TestProject"
IconImageSource="sample2.png"
Title="할일"
BackgroundColor="White">
<StackLayout>
<Label Text="할일 페이지"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand" />
</StackLayout>
</ContentPage>
300x250
▶ ReminderPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="TestProject.ReminderPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TestProject"
IconImageSource="sample3.png"
Title="리마인더"
BackgroundColor="White">
<StackLayout>
<Label Text="리마인더 페이지"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand" />
</StackLayout>
</ContentPage>
반응형
▶ MainPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<TabbedPage x:Class="TestProject.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TestProject">
<local:ContactPage />
<local:TodoListPage />
<local:ReminderPage />
</TabbedPage>
728x90
반응형
그리드형(광고전용)
'C# > MAUI' 카테고리의 다른 글
[C#/MAUI/.NET6] BoxView 엘리먼트 : CornerRadius 속성 사용하기 (0) | 2022.05.12 |
---|---|
[C#/MAUI/.NET6] Border 엘리먼트 : Stroke 속성 사용하기 (0) | 2022.05.12 |
[C#/MAUI/.NET6] Border 엘리먼트 : StrokeShape 속성 사용하기 (0) | 2022.05.12 |
[C#/MAUI/.NET6] TabbedPage 엘리먼트 : 탭 내에서 탐색하기 (0) | 2022.05.12 |
[C#/MAUI/.NET6] TabbedPage 엘리먼트 : ItemsSource/ItemTemplate 속성을 사용해 탭 페이지 채우기 (0) | 2022.05.12 |
[C#/MAUI/.NET6] NavigationPage 엘리먼트 : TitleView 첨부 속성 사용하기 (0) | 2022.05.11 |
[C#/MAUI/.NET6] FlyoutPage 엘리먼트 사용하기 (0) | 2022.05.11 |
[C#/MAUI/.NET6] VerticalStackLayout 엘리먼트 : Spacing 속성 사용하기 (0) | 2022.05.11 |
[C#/MAUI/.NET6] HorizontalStackLayout 엘리먼트 : Spacing 속성 사용하기 (0) | 2022.05.11 |
[C#/MAUI/.NET6] Grid 엘리먼트 : 중첩 그리드 사용하기 (0) | 2022.05.11 |
댓글을 달아 주세요