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); }
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); }