1 write to RenameUserInput
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
53
RenameUserInput
= _viewModel.SmartRenameViewModel is null ? new RenameUserInputTextBox(_viewModel) : new SmartRenameUserInputComboBox(_viewModel);
15 references to RenameUserInput
Microsoft.CodeAnalysis.EditorFeatures.Wpf (15)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (15)
61
RenameUserInput
.Focus();
62
RenameUserInput
.SelectText(_viewModel.StartingSelection.Start, _viewModel.StartingSelection.Length);
63
RenameUserInput
.TextSelectionChanged += RenameUserInput_TextSelectionChanged;
64
RenameUserInput
.GotFocus += RenameUserInput_GotFocus;
69
RenameUserInputPresenter.Content =
RenameUserInput
;
70
RenameUserInput
.PreviewKeyDown += RenameUserInput_PreviewKeyDown;
191
: (FrameworkElement)
RenameUserInput
;
222
if (e.NewFocus !=
RenameUserInput
)
224
RenameUserInput
.Focus();
236
this.
RenameUserInput
.SelectAllText();
246
if (!this.
RenameUserInput
.IsFocused)
251
var start =
RenameUserInput
.TextSelectionStart;
252
var length =
RenameUserInput
.TextSelectionLength;
266
var currentIdentifier =
RenameUserInput
.Text;
274
RenameUserInput
.SelectText(newIdentifier.Length, 0);