[APP]C# 입문부터 안드로이드, 윈도우 앱(UWP) 동시에 만들기 with Xamarin Forms(자마린 폼즈) + Maui 1-5강

해내면 그만!XX·2022년 9월 15일
0

콘텐츠 페이지 추가

namespace xamarinStudy.Views
{
    public class Ch_2_ContentPage2 : ContentPage
    {
        public Ch_2_ContentPage2()
        {
            Content = new StackLayout
            {
                Children = {
                    new Label { Text = "Hello ContentPage",
                                FontSize = 30,
                                TextColor = Color.Red}
                }
            };
        }
    }
}

툴바 아이템, 네비게이션 페이지

namespace xamarinStudy.Views
{
    [XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class Ch_4_TabbedPage1 : TabbedPage
    {
        public Ch_4_TabbedPage1()
        {
            InitializeComponent();
        }
    }
}

탭페이지

namespace xamarinStudy.Views
{
    [XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class Ch_4_TabbedPage1 : TabbedPage
    {
        public Ch_4_TabbedPage1()
        {
            InitializeComponent();
        }
    }
}

Carousel Page

namespace xamarinStudy.Views
{
    public class Ch_5_CarouselPage1 : CarouselPage
    {
        public Ch_5_CarouselPage1()
        {
            Children.Add(new Ch_2_ContentPage());
            Children.Add(new Ch_2_ContentPage2());
        }
    }
}

0개의 댓글