1 write to textBox
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
119
this.
textBox
= this.inputComboBox.Template.FindName("PART_EditableTextBox", this.inputComboBox) as TextBox;
22 references to textBox
System.Activities.Presentation (22)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (22)
110
Fx.Assert(this.
textBox
!= null, "ComboBox should contains a child of TextBox");
111
textBox
.TextChanged -= OnTextChanged;
112
textBox
.PreviewKeyUp -= OnPreviewKeyUp;
113
textBox
.IsKeyboardFocusedChanged -= OnTextBoxIsKeyboardFocusedChanged;
120
this.
textBox
.TextChanged += new TextChangedEventHandler(OnTextChanged);
121
this.
textBox
.PreviewKeyUp += new KeyEventHandler(OnPreviewKeyUp);
122
this.
textBox
.IsKeyboardFocusedChanged += new DependencyPropertyChangedEventHandler(OnTextBoxIsKeyboardFocusedChanged);
123
this.
textBox
.IsUndoEnabled = false;
126
this.
textBox
.Foreground = SystemColors.GrayTextBrush;
127
this.
textBox
.FontStyle = FontStyles.Italic;
128
this.
textBox
.Text = this.importsHintText;
252
this.
textBox
.Text = string.Empty;
377
this.lastInput = this.
textBox
.Text.Trim();
378
this.lastCursePosition = this.
textBox
.CaretIndex;
408
this.
textBox
.Text = this.lastInput;
409
this.
textBox
.CaretIndex = this.lastCursePosition;
421
string userInput = this.
textBox
.Text;
423
this.
textBox
.Text = userInput;
590
string originalText = this.
textBox
.Text;
591
int originalCursePosition = this.
textBox
.CaretIndex;
604
this.
textBox
.Text = lastInput;
605
this.
textBox
.CaretIndex = originalCursePosition;