Exemplo n.º 1
0
 /// <summary>
 /// Fired when the password box password value changes
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e)
 {
     HasTextProperty.SetValue((PasswordBox)sender);
 }
Exemplo n.º 2
0
 private void Passwordbox_PasswordChanged(object sender, RoutedEventArgs e)
 {
     HasTextProperty.SetValue(sender as PasswordBox, (sender as PasswordBox).SecurePassword.Length > 0);
 }