public static bool Show(out string UserInput) { TextInputDialog textInputDialog = new TextInputDialog(); textInputDialog.ShowDialog(); UserInput = textInputDialog._userInput; return(textInputDialog._result); }
public static bool Show(out string UserInput, string hintText) { TextInputDialog textInputDialog = new TextInputDialog(); textInputDialog.HintAssistant.Text = hintText; textInputDialog.ShowDialog(); UserInput = textInputDialog._userInput; return(textInputDialog._result); }