Esempio n. 1
0
        public MainPage()
        {
            InitializeComponent();
            var xfApp = new TsinghuaNet.XF.App();

            SetColorResource(xfApp);
            LoadApplication(xfApp);
        }
Esempio n. 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);
        }