コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: e82eric/Prompts
        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();
        }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: rekha-balan/Prompts
        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();
        }