2 interfaces inheriting from IMenuElement
Microsoft.Maui (2)
Core\IMenuFlyoutItem.cs (1)
8 public interface IMenuFlyoutItem : IMenuElement
Core\ISwipeItemMenuItem.cs (1)
5 public interface ISwipeItemMenuItem : IMenuElement, ISwipeItem
1 implementation of IMenuElement
Microsoft.Maui.Controls (1)
Menu\MenuItem.cs (1)
12 public partial class MenuItem : BaseMenuItem, IMenuItemController, ICommandElement, IMenuElement, IPropertyPropagationController
72 references to IMenuElement
Microsoft.Maui (33)
Core\IMenuBarItem.cs (1)
8 public interface IMenuBarItem : IList<IMenuElement>, IElement
Core\IMenuFlyout.cs (1)
8 public interface IMenuFlyout : IList<IMenuElement>, IFlyout
Core\IMenuFlyoutSubItem.cs (1)
8 public interface IMenuFlyoutSubItem : IMenuFlyoutItem, IList<IMenuElement>
Handlers\MenuBarItem\IMenuBarItemHandler.cs (3)
17 void Add(IMenuElement view); 18 void Remove(IMenuElement view); 20 void Insert(int index, IMenuElement view);
Handlers\MenuBarItem\MenuBarItemHandler.cs (1)
95 foreach (var item in VirtualView)
Handlers\MenuBarItem\MenuBarItemHandler.Standard.cs (3)
12 public void Add(IMenuElement view) 16 public void Remove(IMenuElement view) 24 public void Insert(int index, IMenuElement view)
Handlers\MenuBarItem\MenuBarItemHandlerUpdate.cs (1)
8 public record MenuBarItemHandlerUpdate(int Index, IMenuElement MenuElement);
Handlers\MenuFlyoutHandler\IMenuFlyoutHandler.cs (3)
11 void Add(IMenuElement view); 12 void Remove(IMenuElement view); 14 void Insert(int index, IMenuElement view);
Handlers\MenuFlyoutHandler\MenuFlyoutHandler.cs (1)
73 foreach (var item in VirtualView)
Handlers\MenuFlyoutHandler\MenuFlyoutHandler.Standard.cs (3)
12 public void Add(IMenuElement view) 16 public void Remove(IMenuElement view) 24 public void Insert(int index, IMenuElement view)
Handlers\MenuFlyoutHandler\MenuFlyoutItemHandlerUpdate.cs (1)
8 public record ContextFlyoutItemHandlerUpdate(int Index, IMenuElement MenuElement);
Handlers\MenuFlyoutSubItem\IMenuFlyoutSubItemHandler.cs (3)
17 void Add(IMenuElement view); 18 void Remove(IMenuElement view); 20 void Insert(int index, IMenuElement view);
Handlers\MenuFlyoutSubItem\MenuFlyoutSubItemHandler.cs (5)
56 public static void MapAdd(IMenuFlyoutSubItemHandler handler, IMenuElement layout, object? arg) 64 public static void MapRemove(IMenuFlyoutSubItemHandler handler, IMenuElement layout, object? arg) 72 public static void MapInsert(IMenuFlyoutSubItemHandler handler, IMenuElement layout, object? arg) 80 public static void MapClear(IMenuFlyoutSubItemHandler handler, IMenuElement layout, object? arg) 98 foreach (var item in VirtualView)
Handlers\MenuFlyoutSubItem\MenuFlyoutSubItemHandler.Standard.cs (3)
12 public void Add(IMenuElement view) 16 public void Remove(IMenuElement view) 24 public void Insert(int index, IMenuElement view)
Handlers\MenuFlyoutSubItem\MenuFlyoutSubItemHandlerUpdate.cs (1)
8 public record MenuFlyoutSubItemHandlerUpdate(int Index, IMenuElement MenuElement);
Handlers\SwipeItemMenuItem\SwipeItemMenuItemHandler.cs (2)
24 [nameof(IMenuElement.Text)] = MapText, 28 [nameof(IMenuElement.Source)] = MapSource,
Microsoft.Maui.Controls (39)
Menu\MenuBarItem.cs (13)
22 LogicalChildrenInternalBackingStore = new CastingList<Element, IMenuElement>(_menus); 43 readonly List<IMenuElement> _menus = new List<IMenuElement>(); 47 public IMenuElement this[int index] 61 public void Add(IMenuElement item) 74 public bool Contains(IMenuElement item) 79 public void CopyTo(IMenuElement[] array, int arrayIndex) 84 public IEnumerator<IMenuElement> GetEnumerator() 89 public int IndexOf(IMenuElement item) 94 public void Insert(int index, IMenuElement item) 100 public bool Remove(IMenuElement item) 111 var item = _menus[index]; 121 void NotifyHandler(string action, int index, IMenuElement view)
Menu\MenuFlyout.cs (13)
12 readonly List<IMenuElement> _menus = new List<IMenuElement>(); 15 LogicalChildrenInternalBackingStore = new CastingList<Element, IMenuElement>(_menus); 23 public IMenuElement this[int index] 37 public void Add(IMenuElement item) 56 public bool Contains(IMenuElement item) 61 public void CopyTo(IMenuElement[] array, int arrayIndex) 66 public IEnumerator<IMenuElement> GetEnumerator() 71 public int IndexOf(IMenuElement item) 76 public void Insert(int index, IMenuElement item) 82 public bool Remove(IMenuElement item) 93 var item = _menus[index]; 103 void NotifyHandler(string action, int index, IMenuElement view)
Menu\MenuFlyoutSubItem.cs (12)
9 readonly List<IMenuElement> _menus = new List<IMenuElement>(); 15 public IMenuElement this[int index] 29 public void Add(IMenuElement item) 43 public bool Contains(IMenuElement item) 48 public void CopyTo(IMenuElement[] array, int arrayIndex) 53 public IEnumerator<IMenuElement> GetEnumerator() 58 public int IndexOf(IMenuElement item) 63 public void Insert(int index, IMenuElement item) 70 public bool Remove(IMenuElement item) 84 var item = _menus[index]; 97 void NotifyHandler(string action, int index, IMenuElement view)
Menu\MenuItem.cs (1)
160 void IMenuElement.Clicked()