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