4 writes to Toolbar
Microsoft.Maui.Controls (4)
NavigationPage\NavigationPage.cs (3)
558 flyoutPage.Toolbar = null; 577 flyoutPage.Toolbar = _toolbar; 610 p.Toolbar = _toolbar;
Shell\Shell.cs (1)
1158 Toolbar = new ShellToolbar(this);
17 references to Toolbar
Microsoft.Maui.Controls (17)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (9)
168 NavigationItem.Title = _context.Shell.Toolbar.Title; 174 if (_context.Shell.Toolbar is ShellToolbar st) 242 var titleView = _context.Shell.Toolbar.TitleView as View; 849 if (_context.Shell.Toolbar != null) 850 _context.Shell.Toolbar.PropertyChanged += OnToolbarPropertyChanged; 864 if (_context?.Shell?.Toolbar is not null) 865 _context.Shell.Toolbar.PropertyChanged -= OnToolbarPropertyChanged; 897 if (_context.Shell.Toolbar != null) 898 _context.Shell.Toolbar.PropertyChanged -= OnToolbarPropertyChanged;
NavigationPage\NavigationPage.cs (3)
522 if (this.Toolbar != null) 523 return Toolbar; 556 if (flyoutPage != null && flyoutPage.Parent is IWindow && flyoutPage.Toolbar == _toolbar)
Shell\BaseShellItem.cs (1)
219 if (shellItem.FindParentOfType<Shell>()?.Toolbar is ShellToolbar st)
Shell\Shell.cs (4)
710 Toolbar.BarTextColor = appearance?.TitleColor ?? DefaultTitleColor; 711 Toolbar.BarBackground = appearance?.BackgroundColor ?? DefaultBackgroundColor; 712 Toolbar.IconColor = appearance?.ForegroundColor ?? DefaultForegroundColor; 1927 if (Toolbar is ShellToolbar shellToolbar)