public Window() { _visualChildren = new List <IVisualTreeElement>(); AlertManager = new AlertManager(this); ModalNavigationManager = new ModalNavigationManager(this); Navigation = new NavigationImpl(this); InternalChildren.CollectionChanged += OnCollectionChanged; }
public Application() { SetCurrentApplication(this); NavigationProxy = new NavigationImpl(this); SystemResources = DependencyService.Get <ISystemResourcesProvider>().GetSystemResources(); SystemResources.ValuesChanged += OnParentResourcesChanged; _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <Application> >(() => new PlatformConfigurationRegistry <Application>(this)); // Initialize this value, when the app loads _lastAppTheme = RequestedTheme; }
public NavigationPage() { _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <NavigationPage> >(() => new PlatformConfigurationRegistry <NavigationPage>(this)); #if __ANDROID__ Navigation = new MauiNavigationImpl(this); #else Navigation = new NavigationImpl(this); #endif Init(); }
public Application() { SetCurrentApplication(this); NavigationProxy = new NavigationImpl(this); _systemResources = new Lazy <IResourceDictionary>(() => { var systemResources = DependencyService.Get <ISystemResourcesProvider>().GetSystemResources(); systemResources.ValuesChanged += OnParentResourcesChanged; return(systemResources); }); _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <Application> >(() => new PlatformConfigurationRegistry <Application>(this)); }
protected Application() { var f = false; if (f) Loader.Load(); NavigationProxy = new NavigationImpl(this); Current = this; _propertiesTask = GetPropertiesAsync(); SystemResources = DependencyService.Get<ISystemResourcesProvider>().GetSystemResources(); SystemResources.ValuesChanged += OnParentResourcesChanged; }
public Application() { // var f = false; // if (f) // Loader.Load(); NavigationProxy = new NavigationImpl(this); SetCurrentApplication(this); SystemResources = DependencyService.Get <ISystemResourcesProvider>()?.GetSystemResources(); SystemResources.ValuesChanged += OnParentResourcesChanged; _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <Application> >(() => new PlatformConfigurationRegistry <Application>(this)); }
protected Application() { var f = false; if (f) { Loader.Load(); } NavigationProxy = new NavigationImpl(this); Current = this; SystemResources = DependencyService.Get <ISystemResourcesProvider>().GetSystemResources(); SystemResources.ValuesChanged += OnParentResourcesChanged; _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <Application> >(() => new PlatformConfigurationRegistry <Application>(this)); }
protected Application() { var f = false; if (f) { Loader.Load(); } NavigationProxy = new NavigationImpl(this); Current = this; _propertiesTask = GetPropertiesAsync(); SystemResources = DependencyService.Get <ISystemResourcesProvider>().GetSystemResources(); SystemResources.ValuesChanged += OnParentResourcesChanged; }
internal NavigationPage(bool setforMaui, Page root = null) { _setForMaui = setforMaui; _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <NavigationPage> >(() => new PlatformConfigurationRegistry <NavigationPage>(this)); if (setforMaui) { Navigation = new MauiNavigationImpl(this); } else { Navigation = new NavigationImpl(this); } Init(); if (root != null) { PushPage(root); } }
public NavigationMonitoringTab() { Navigation = new NavigationImpl(this, Navigation); }
public NavigationPage() { _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <NavigationPage> >(() => new PlatformConfigurationRegistry <NavigationPage>(this)); Navigation = new NavigationImpl(this); }
public NavigationPage() { Navigation = new NavigationImpl(this); }