Пример #1
0
 private void OnGotFocus(object sender, RoutedEventArgs e)
 {
     _autoSuggestBox.Text    = DisplayText;
     _autoSuggestBox.Opacity = 1.0;
     _border.Opacity         = 1.0;
     _displayText.Visibility = Visibility.Collapsed;
     EnterFocus?.Invoke(this, e);
 }
Пример #2
0
 private void OnGotFocus(object sender, RoutedEventArgs e)
 {
     _inputText.SelectionStart = _inputText.Text.Length;
     _inputText.Opacity        = 1.0;
     _border.Opacity           = 1.0;
     _displayText.Visibility   = Visibility.Collapsed;
     EnterFocus?.Invoke(this, e);
 }
Пример #3
0
 private void OnOpened(object sender, object e)
 {
     _border.Opacity = 1.0;
     EnterFocus?.Invoke(this, new RoutedEventArgs());
 }
Пример #4
0
 private void OnGotFocus(object sender, RoutedEventArgs e)
 {
     _border.Opacity = 1.0;
     EnterFocus?.Invoke(this, e);
 }