public InputPopup(string title, string message, InputOptions inputOptions, string[] buttons, InputPopupStyle style) : base(style) { _title = title; _message = message; _inputOptions = inputOptions; _buttons = buttons; this.style = style; }
public static Task <InputResult> ShowInputPopup(AbsoluteLayout targetContainer, string title, string body, InputOptions inputOptions, string[] buttons, InputPopupStyle style = null) { style = style ?? InputPopupStyle.Default; var inputPopup = new InputPopup(title, body, inputOptions, buttons, style); targetContainer.Children.Add(inputPopup, new Rectangle(0, 0, 1, 1), AbsoluteLayoutFlags.All); return(inputPopup.Show()); }