1 write to EditableTextBoxSite
PresentationFramework (1)
System\Windows\Controls\ComboBox.cs (1)
1633EditableTextBoxSite = GetTemplateChild(EditableTextBoxTemplateName) as TextBox;
44 references to EditableTextBoxSite
PresentationFramework (44)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
71TextBox textBox = owner.EditableTextBoxSite; 98TextBox tb = owner.EditableTextBoxSite;
System\Windows\Controls\ComboBox.cs (38)
227if (comboBox.IsEditable && comboBox.EditableTextBoxSite != null) 228comboBox.EditableTextBoxSite.SelectAll(); 280if (comboBox.EditableTextBoxSite != null && !comboBox.EditableTextBoxSite.IsKeyboardFocusWithin) 638TextUpdated(EditableTextBoxSite.Text, true); 645if (!Helper.IsComposing(EditableTextBoxSite)) 647_textBoxSelectionStart = EditableTextBoxSite.SelectionStart; 655e.TextComposition.Source == EditableTextBoxSite && 659TextUpdated(EditableTextBoxSite.Text, true); 665EditableTextBoxSite.RaiseCourtesyTextChangedEvent(); 677if (Helper.IsComposing(EditableTextBoxSite)) 706int selectionStart = EditableTextBoxSite.SelectionStart; 725EditableTextBoxSite.TextContainer.UndoManager; 770else if (EditableTextBoxSite != null) 772EditableTextBoxSite.Text = newText; 808EditableTextBoxSite.Text = matchedText; 809EditableTextBoxSite.SelectionStart = matchedText.Length - matchedTextInfo.TextExcludingPrefixLength; 810EditableTextBoxSite.SelectionLength = matchedTextInfo.TextExcludingPrefixLength; 839if (EditableTextBoxSite != null && EditableTextBoxSite.Text != text) 841EditableTextBoxSite.Text = text; 842EditableTextBoxSite.SelectAll(); 1066if (comboBox.IsEditable && comboBox.EditableTextBoxSite != null) 1070comboBox.EditableTextBoxSite.Focus(); 1073else if (e.OriginalSource == comboBox.EditableTextBoxSite) 1075comboBox.EditableTextBoxSite.SelectAll(); 1232if (IsEditable && EditableTextBoxSite != null) 1234return EditableTextBoxSite.HasEffectiveKeyboardFocus; 1307if (IsEditable && e.OriginalSource == EditableTextBoxSite) 1637if (EditableTextBoxSite != null) 1639EditableTextBoxSite.TextChanged += new TextChangedEventHandler(OnEditableTextBoxTextChanged); 1640EditableTextBoxSite.SelectionChanged += new RoutedEventHandler(OnEditableTextBoxSelectionChanged); 1641EditableTextBoxSite.PreviewTextInput += new TextCompositionEventHandler(OnEditableTextBoxPreviewTextInput); 1659if (EditableTextBoxSite != null) 1661EditableTextBoxSite.TextChanged -= new TextChangedEventHandler(OnEditableTextBoxTextChanged); 1662EditableTextBoxSite.SelectionChanged -= new RoutedEventHandler(OnEditableTextBoxSelectionChanged); 1663EditableTextBoxSite.PreviewTextInput -= new TextCompositionEventHandler(OnEditableTextBoxPreviewTextInput); 1736Visual textBox = comboBox.EditableTextBoxSite;
System\Windows\Controls\DataGridComboBoxColumn.cs (4)
561if (cb != null && cb.EditableTextBoxSite != null) 563DataGridHelper.CacheFlowDirection(cb.EditableTextBoxSite, cb.Parent as DataGridCell); 578if (cb != null && cb.EditableTextBoxSite != null) 580DataGridHelper.CacheFlowDirection(cb.EditableTextBoxSite, cb.Parent as DataGridCell);