public InputDisplayCondition(Input input, InputValueCondition condition, object value, bool conjunctive) { _input = input; _condition = condition; _value = value; _conjunctive = conjunctive; }
public ScriptInputPage(Input input) { Title = "Input"; StackLayout contentLayout = new StackLayout { Orientation = StackOrientation.Vertical, VerticalOptions = LayoutOptions.FillAndExpand }; foreach (StackLayout stack in UiProperty.GetPropertyStacks(input)) contentLayout.Children.Add(stack); Content = new ScrollView { Content = contentLayout }; }
public void PromptForInputAsync(string windowTitle, Input input, CancellationToken? cancellationToken, bool showCancelButton, string nextButtonText, string cancelConfirmation, string incompleteSubmissionConfirmation, string submitConfirmation, bool displayProgress, Action<Input> callback) { PromptForInputsAsync(windowTitle, new Input[] { input }, cancellationToken, showCancelButton, nextButtonText, cancelConfirmation, incompleteSubmissionConfirmation, submitConfirmation, displayProgress, inputs => { if (inputs == null) callback(null); else callback(inputs[0]); }); }
public InputGroup(string name, Input input) : this(name) { _inputs.Add(input); }