/// <summary> /// Select all text in the password box when getting focus /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AD_PasswordBox_GotFocus(object sender, RoutedEventArgs e) { AD_PasswordBox.SelectAll(); AD_PasswordBox.Style = FindResource("PasswordBox") as Style; }
/// <summary> /// Select all text in the AD password box when getting focus /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AD_PasswordBox_GotFocus(object sender, RoutedEventArgs e) { AD_PasswordBox.SelectAll(); }