Beispiel #1
0
 private static void PasswordGotFocus(object sender, RoutedEventArgs e)
 {
     TextBoxHelper.ControlGotFocus <PasswordBox>(sender as PasswordBox, (PasswordBox passwordBox) => passwordBox.SelectAll());
 }
Beispiel #2
0
 private static void TextBoxGotFocus(object sender, RoutedEventArgs e)
 {
     TextBoxHelper.ControlGotFocus <TextBox>(sender as TextBox, (TextBox textBox) => textBox.SelectAll());
 }
Beispiel #3
0
 private static void NumericUpDownGotFocus(object sender, RoutedEventArgs e)
 {
     TextBoxHelper.ControlGotFocus <NumericUpDown>(sender as NumericUpDown, (NumericUpDown numericUpDown) => numericUpDown.SelectAll());
 }