void UpdateMenuItemIcon(Context context, IMenuItem menuItem, ToolbarItem toolBarItem) { _ = MauiContext ?? throw new ArgumentNullException(nameof(MauiContext)); ToolbarExtensions.UpdateMenuItemIcon(MauiContext, menuItem, toolBarItem, null); }
public ToolbarItemHandler(NativeComponentRenderer renderer, MC.ToolbarItem toolbarItemControl) : base(renderer, toolbarItemControl) { ToolbarItemControl = toolbarItemControl ?? throw new ArgumentNullException(nameof(toolbarItemControl)); Initialize(renderer); }