2 writes to NavigationItem
Microsoft.Maui.Controls (2)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (2)
224 NavigationItem = ViewController.NavigationItem; 904 NavigationItem = null;
35 references to NavigationItem
Microsoft.Maui.Controls (35)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (35)
102 if (NavigationItem?.LeftBarButtonItem != null) 103 NavigationItem.LeftBarButtonItem.Enabled = BackButtonBehavior.IsEnabled; 163 NavigationItem.Title = _context.Shell.Toolbar.Title; 239 if (NavigationItem.TitleView is TitleViewContainer tvc && 252 var view = NavigationItem.TitleView; 253 NavigationItem.TitleView = null; 261 NavigationItem.TitleView = view; 284 if (NavigationItem == null) 289 if (NavigationItem.RightBarButtonItems != null) 291 for (var i = 0; i < NavigationItem.RightBarButtonItems.Length; i++) 292 NavigationItem.RightBarButtonItems[i].Dispose(); 315 NavigationItem.SetRightBarButtonItems(primaries == null ? Array.Empty<UIBarButtonItem>() : primaries.ToArray(), false); 337 NavigationItem.HidesBackButton = !backButtonVisible; 356 NavigationItem.LeftBarButtonItem = 361 NavigationItem.LeftBarButtonItem = null; 365 if (NavigationItem.LeftBarButtonItem != null) 371 NavigationItem.LeftBarButtonItem.AccessibilityIdentifier = "OK"; 372 NavigationItem.LeftBarButtonItem.AccessibilityLabel = "Menu"; 375 NavigationItem.LeftBarButtonItem.AccessibilityIdentifier = "Back"; 379 NavigationItem.LeftBarButtonItem.AccessibilityIdentifier = image.AutomationId; 384 NavigationItem.LeftBarButtonItem.SetAccessibilityHint(image); 385 NavigationItem.LeftBarButtonItem.SetAccessibilityLabel(image); 507 if (NavigationItem?.LeftBarButtonItem == null) 515 NavigationItem.LeftBarButtonItem.Enabled = isEnabled; 662 RemoveSearchController(NavigationItem); 664 NavigationItem.TitleView = null; 671 NavigationItem.SearchController = _searchController; 672 NavigationItem.HidesSearchBarWhenScrolling = visibility == SearchBoxVisibility.Collapsible; 676 NavigationItem.TitleView = _searchController.SearchBar; 710 NavigationItem.SearchController = _searchController; 712 NavigationItem.TitleView = _searchController.SearchBar; 728 NavigationItem.HidesSearchBarWhenScrolling = visibility == SearchBoxVisibility.Collapsible; 767 RemoveSearchController(NavigationItem); 771 NavigationItem.TitleView = null; 895 if (NavigationItem?.TitleView is TitleViewContainer tvc)