Esempio n. 1
0
        public MainPage()
        {
            var promptSystem = new PromptSystemContainer
                                   {
                                       PromptContainer = {TextColor = Colors.Black},
                                       ReportCatalogContainer = {TextColor = Colors.Black}
                                   };
            InitializeComponent();
            _popupRenderer = promptSystem.CreatePopupView();
            CollapseControl.StaticContent = new PromptsView(promptSystem.CreatePromptCollectionControl());
            CollapseControl.CollapseableContent = new ReportCatalogView(promptSystem.CreateReportCatalogControl());

            DataContext = new MainPageViewModel();
        }
Esempio n. 2
0
        public MainPage()
        {
            var promptSystem = new PromptSystemContainer
            {
                PromptContainer        = { TextColor = Colors.Black },
                ReportCatalogContainer = { TextColor = Colors.Black }
            };

            InitializeComponent();
            _popupRenderer = promptSystem.CreatePopupView();
            CollapseControl.StaticContent       = new PromptsView(promptSystem.CreatePromptCollectionControl());
            CollapseControl.CollapseableContent = new ReportCatalogView(promptSystem.CreateReportCatalogControl());


            DataContext = new MainPageViewModel();
        }