コード例 #1
0
        private ScreenManager SetupFramework()
        {
            var screenManager = this.tabsManager.GetScreenManager();

            View.Wpf.Builders.ViewBuildersCollection viewBuilders = new ViewBuildersCollection();
            viewBuilders.AddDefaultViewBuilders();
            viewBuilders.AddSyncfusionViewBuilders();
            this.tabsManager.SetupManager(viewBuilders);
            return(screenManager);
        }
コード例 #2
0
        public XamarinSamplePage()
        {
            InitializeComponent();

            _viewBuilders = new ViewBuildersCollection();
            _viewBuilders.AddDefaultViewBuilders();
            var screenManager = new ScreenManager();
            var dialogService = new DialogService();

            var viewModel     = SalesHelpers.SampleViewModel(dialogService, screenManager);
            var viewModelBase = viewModel.InitNoScreen();
            var docContainer  = new DocView();

            docContainer.SetDoc(viewModelBase, _viewBuilders, "FirstScreenDummy");

            //stackContainer.Children.Add(docContainer);
        }