2 implementations of IMenuBarItemHandler
Microsoft.Maui (2)
Handlers\MenuBarItem\MenuBarItemHandler.cs (1)
18
public partial class MenuBarItemHandler :
IMenuBarItemHandler
Handlers\MenuBarItem\MenuBarItemHandler.Standard.cs (1)
5
public partial class MenuBarItemHandler : ElementHandler<IMenuBarItem, object>,
IMenuBarItemHandler
16 references to IMenuBarItemHandler
Microsoft.Maui (13)
Handlers\MenuBarItem\MenuBarItemHandler.cs (13)
21
public static IPropertyMapper<IMenuBarItem,
IMenuBarItemHandler
> Mapper = new PropertyMapper<IMenuBarItem,
IMenuBarItemHandler
>(ElementMapper)
31
public static CommandMapper<IMenuBarItem,
IMenuBarItemHandler
> CommandMapper = new(ElementCommandMapper)
33
[nameof(
IMenuBarItemHandler
.Add)] = MapAdd,
34
[nameof(
IMenuBarItemHandler
.Remove)] = MapRemove,
35
[nameof(
IMenuBarItemHandler
.Clear)] = MapClear,
36
[nameof(
IMenuBarItemHandler
.Insert)] = MapInsert,
53
public static void MapAdd(
IMenuBarItemHandler
handler, IMenuBarItem layout, object? arg)
61
public static void MapRemove(
IMenuBarItemHandler
handler, IMenuBarItem layout, object? arg)
69
public static void MapInsert(
IMenuBarItemHandler
handler, IMenuBarItem layout, object? arg)
77
public static void MapClear(
IMenuBarItemHandler
handler, IMenuBarItem layout, object? arg)
84
IMenuBarItem
IMenuBarItemHandler
.VirtualView => VirtualView;
88
PlatformView
IMenuBarItemHandler
.PlatformView => PlatformView;
Microsoft.Maui.Controls (3)
Menu\MenuBarItem.cs (2)
65
NotifyHandler(nameof(
IMenuBarItemHandler
.Add), index, item);
97
NotifyHandler(nameof(
IMenuBarItemHandler
.Insert), index, item);
Menu\MenuFlyoutSubItem.cs (1)
34
NotifyHandler(nameof(
IMenuBarItemHandler
.Add), index, item);