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); }
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); }
private void OnOpened(object sender, object e) { _border.Opacity = 1.0; EnterFocus?.Invoke(this, new RoutedEventArgs()); }
private void OnGotFocus(object sender, RoutedEventArgs e) { _border.Opacity = 1.0; EnterFocus?.Invoke(this, e); }