zoukankan      html  css  js  c++  java
  • XF 标签页面

    using System;
    using Xamarin.Forms;
    using Xamarin.Forms.Xaml;

    [assembly: XamlCompilation (XamlCompilationOptions.Compile)]
    namespace App12
    {
        public partial class App : Application
        {
            public App ()
            {
                InitializeComponent();

                MainPage = new TabbedPage1();//删除MainPage添加标签页面
            }

            protected override void OnStart ()
            {
                // Handle when your app starts
            }

            protected override void OnSleep ()
            {
                // Handle when your app sleeps
            }

            protected override void OnResume ()
            {
                // Handle when your app resumes
            }
        }
    }
     

    <?xml version="1.0" encoding="utf-8" ?>
    <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
                 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                 x:Class="App12.TabbedPage1">
      <!--Pages can be added as references or inline-->
        <ContentPage Title="Tab 1">
            <BoxView BackgroundColor="AliceBlue"></BoxView>
        </ContentPage>
        <ContentPage Title="Tab 2" >
            <BoxView BackgroundColor="Red"></BoxView>

        </ContentPage>
        <ContentPage Title="Tab 3" >
            <BoxView BackgroundColor="Yellow"></BoxView>

        </ContentPage>
    </TabbedPage>

  • 相关阅读:
    中位数--贪心问题
    子串和子序列的区别
    unique from STL
    哈希表(1598. 文件夹操作日志搜集器)
    最短路dijkstra算法以及spfa算法
    二分+dfs 1631. 最小体力消耗路径
    java学习
    语料处理 合集
    Pytorch-创建图片的dataset和dataloader和数据过采样
    2020年9~10月
  • 原文地址:https://www.cnblogs.com/dxmfans/p/9434586.html
Copyright © 2011-2022 走看看