2 implementations of IMenuBarHandler
Microsoft.Maui (2)
Handlers\MenuBar\MenuBarHandler.cs (1)
18
public partial class MenuBarHandler :
IMenuBarHandler
Handlers\MenuBar\MenuBarHandler.Standard.cs (1)
5
public partial class MenuBarHandler : ElementHandler<IMenuBar, object>,
IMenuBarHandler
17 references to IMenuBarHandler
Microsoft.Maui (13)
Handlers\MenuBar\MenuBarHandler.cs (13)
21
public static IPropertyMapper<IMenuBar,
IMenuBarHandler
> Mapper = new PropertyMapper<IMenuBar,
IMenuBarHandler
>(ElementMapper)
27
public static CommandMapper<IMenuBar,
IMenuBarHandler
> CommandMapper = new(ElementCommandMapper)
29
[nameof(
IMenuBarHandler
.Add)] = MapAdd,
30
[nameof(
IMenuBarHandler
.Remove)] = MapRemove,
31
[nameof(
IMenuBarHandler
.Clear)] = MapClear,
32
[nameof(
IMenuBarHandler
.Insert)] = MapInsert,
45
public static void MapAdd(
IMenuBarHandler
handler, IMenuBar layout, object? arg)
53
public static void MapRemove(
IMenuBarHandler
handler, IMenuBar layout, object? arg)
61
public static void MapInsert(
IMenuBarHandler
handler, IMenuBar layout, object? arg)
69
public static void MapClear(
IMenuBarHandler
handler, IMenuBar layout, object? arg)
74
IMenuBar
IMenuBarHandler
.VirtualView => VirtualView;
76
PlatformView
IMenuBarHandler
.PlatformView => PlatformView;
Microsoft.Maui.Controls (4)
Menu\MenuBar.cs (4)
41
NotifyHandler(nameof(
IMenuBarHandler
.Add), index, item);
91
NotifyHandler(nameof(
IMenuBarHandler
.Insert), index, item);
98
NotifyHandler(nameof(
IMenuBarHandler
.Remove), index, item);
114
NotifyHandler(nameof(
IMenuBarHandler
.Remove), index, item);