public override bool SelectItem(object item) { var f = new PatronForm(DocumentAppDelegate.Shared.GetPatronMonthlyPrices()); f.NavigationItem.RightBarButtonItem = new UIKit.UIBarButtonItem(UIKit.UIBarButtonSystemItem.Done, (s, e) => { if (f != null && f.PresentingViewController != null) { f.DismissViewController(true, null); } }); if (this.Form.NavigationController != null) { this.Form.NavigationController.PushViewController(f, true); } return(false); }
public async Task ShowPatronAsync () { var pform = new PatronForm (GetPatronMonthlyPrices ()); var nav = new UINavigationController (pform); nav.ModalPresentationStyle = UIModalPresentationStyle.FormSheet; await CurrentDocumentListController.PresentViewControllerAsync (nav, true); }
public override void ViewWillDisappear(bool animated) { base.ViewWillDisappear(animated); visibleForm = null; }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); visibleForm = this; }
public override void ViewWillDisappear (bool animated) { base.ViewWillDisappear (animated); visibleForm = null; }
public override void ViewWillAppear (bool animated) { base.ViewWillAppear (animated); visibleForm = this; }
public override bool SelectItem (object item) { var f = new PatronForm (DocumentAppDelegate.Shared.GetPatronMonthlyPrices ()); f.NavigationItem.RightBarButtonItem = new UIKit.UIBarButtonItem (UIKit.UIBarButtonSystemItem.Done, (s, e) => { if (f != null && f.PresentingViewController != null) { f.DismissViewController (true, null); } }); if (this.Form.NavigationController != null) { this.Form.NavigationController.PushViewController (f, true); } return false; }