TextBox InputScope only Letters

  private void TextBox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)

Windows Phone PasswordBox with numeric Input Scope

First, define below variables at class level string_enteredPasscode=""; string_passwordChar="*"