コード例 #1
0
        public MainPage()
        {
            InitializeComponent();
            var xfApp = new TsinghuaNet.XF.App();

            SetColorResource(xfApp);
            LoadApplication(xfApp);
        }
コード例 #2
0
        public MainPage()
        {
            InitializeComponent();
            CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;
            var titleBar = ApplicationView.GetForCurrentView().TitleBar;

            titleBar.ButtonBackgroundColor         = Colors.Transparent;
            titleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
            var xfApp = new TsinghuaNet.XF.App(GetColorTheme(), GetOtherResources());

            LoadApplication(xfApp);
        }