private void PasswordClick(object sender, RoutedEventArgs e) { InitializePrompt(); _prompt.Title = "Basic Input"; _prompt.Message = "I'm a basic input prompt" + LongText; _prompt.Show(); }
private void PasswordClick(object sender, RoutedEventArgs e) { var passwordInput = new PasswordInputPrompt { Title = "Basic Input", Message = "I'm a basic input prompt" + LongText, }; passwordInput.Completed += PopUpPromptStringCompleted; passwordInput.Show(); }
private void InputLongMsgClick(object sender, RoutedEventArgs e) { var passwordInput = new PasswordInputPrompt { Title = "Basic Input", Message = LongText, MessageTextWrapping = TextWrapping.Wrap, }; passwordInput.Completed += PopUpPromptStringCompleted; passwordInput.Show(); }
private void PasswordNoEnterClick(object sender, RoutedEventArgs e) { var passwordInput = new PasswordInputPrompt { Title = "Enter won't submit", Message = "Enter key won't submit now", IsSubmitOnEnterKey = false }; passwordInput.Completed += PopUpPromptStringCompleted; passwordInput.Show(); }
private void PasswordAdvancedClick(object sender, RoutedEventArgs e) { var passwordInput = new PasswordInputPrompt { Title = "TelephoneNum", Message = "I'm a message about Telephone numbers!", Background = _naturalBlueSolidColorBrush, Foreground = _aliceBlueSolidColorBrush, Overlay = _cornFlowerBlueSolidColorBrush, IsCancelVisible = true, InputScope = new InputScope { Names = { new InputScopeName { NameValue = InputScopeNameValue.TelephoneNumber } } }, Value = "doom" }; passwordInput.Completed += PopUpPromptStringCompleted; passwordInput.Show(); }