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

            Initialize(renderer);
        }