Exemple #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();
        }
 public void Setup()
 {
     _viewModel = new MainPageViewModel();
 }