1 write to _menuBar
Microsoft.Maui.Controls (1)
Menu\MenuBarTracker.cs (1)
20
_menuBar
= new MenuBar();
8 references to _menuBar
Microsoft.Maui.Controls (8)
Menu\MenuBarTracker.cs (8)
28
_menuBar
.SyncMenuBarItemsFromPages(ToolbarItems);
30
if (
_menuBar
.Count == 0)
32
_menuBar
.Parent?.RemoveLogicalChild(
_menuBar
);
34
else if (
_menuBar
.Parent != _parent)
36
_parent.AddLogicalChild(
_menuBar
);
53
_menuBar
.SyncMenuBarItemsFromPages(ToolbarItems);
55
return
_menuBar
;