18 references to ToolbarItem
Microsoft.Maui.Controls (17)
Menu\MenuBarItem.cs (1)
19 static readonly BindableProperty PriorityProperty = BindableProperty.Create(nameof(Priority), typeof(int), typeof(ToolbarItem), 0);
Page\Page.cs (4)
85 var toolbarItems = new ObservableCollection<ToolbarItem>(); 164 /// Gets the <see cref="ToolbarItem"/> objects for this page, implemented in a platform-specific manner. 166 public IList<ToolbarItem> ToolbarItems { get; internal set; } 489 foreach (ToolbarItem toolbarItem in ToolbarItems)
Toolbar\Toolbar.cs (2)
21 IEnumerable<ToolbarItem> _toolbarItems; 35 public IEnumerable<ToolbarItem> ToolbarItems { get => _toolbarItems; set => SetProperty(ref _toolbarItems, value); }
Toolbar\ToolbarItem.cs (2)
9 static readonly BindableProperty OrderProperty = BindableProperty.Create(nameof(Order), typeof(ToolbarItemOrder), typeof(ToolbarItem), ToolbarItemOrder.Default, validateValue: (bo, o) => 15 static readonly BindableProperty PriorityProperty = BindableProperty.Create(nameof(Priority), typeof(int), typeof(ToolbarItem), 0);
Toolbar\ToolbarItemEventArgs.cs (2)
7 public ToolbarItemEventArgs(ToolbarItem item) 12 public ToolbarItem ToolbarItem { get; private set; }
Toolbar\ToolbarTracker.cs (6)
11 internal class ToolbarTracker : MenuItemTracker<ToolbarItem> 14 protected override IList<ToolbarItem> GetMenuItems(Page page) => 17 protected override IComparer<ToolbarItem> CreateComparer() => 20 class ToolBarItemComparer : IComparer<ToolbarItem> 22 public int Compare(ToolbarItem x, ToolbarItem y) => x.Priority.CompareTo(y.Priority);
Microsoft.Maui.Controls.Compatibility (1)
iOS\Renderers\NavigationRenderer.cs (1)
1415 foreach (var item in toolbarItems)