protected UIBarButtonItem CreateMenuButton() { return(new UIBarButtonItem( UIImage.FromBundle("TODO"), UIBarButtonItemStyle.Bordered, (EventHandler)((o, e) => Tools.Exceptions.ExecuteIgnoringException((Action)(async() => { if (await CanShowMenu()) { MenuTapped?.Invoke(); } }))))); }
private void OnMenuTapped(object sender, MenuItem e) { MenuTapped?.Invoke(sender, e); }