1 write to EditableTextBoxSite
PresentationFramework (1)
src\Framework\System\Windows\Controls\ComboBox.cs (1)
1646
EditableTextBoxSite
= GetTemplateChild(EditableTextBoxTemplateName) as TextBox;
44 references to EditableTextBoxSite
PresentationFramework (44)
src\Framework\System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
76
TextBox textBox = owner.
EditableTextBoxSite
;
103
TextBox tb = owner.
EditableTextBoxSite
;
src\Framework\System\Windows\Controls\ComboBox.cs (38)
238
if (comboBox.IsEditable && comboBox.
EditableTextBoxSite
!= null)
239
comboBox.
EditableTextBoxSite
.SelectAll();
291
if (comboBox.
EditableTextBoxSite
!= null && !comboBox.
EditableTextBoxSite
.IsKeyboardFocusWithin)
650
TextUpdated(
EditableTextBoxSite
.Text, true);
657
if (!Helper.IsComposing(
EditableTextBoxSite
))
659
_textBoxSelectionStart =
EditableTextBoxSite
.SelectionStart;
667
e.TextComposition.Source ==
EditableTextBoxSite
&&
671
TextUpdated(
EditableTextBoxSite
.Text, true);
677
EditableTextBoxSite
.RaiseCourtesyTextChangedEvent();
689
if (Helper.IsComposing(
EditableTextBoxSite
))
718
int selectionStart =
EditableTextBoxSite
.SelectionStart;
737
EditableTextBoxSite
.TextContainer.UndoManager;
782
else if (
EditableTextBoxSite
!= null)
784
EditableTextBoxSite
.Text = newText;
820
EditableTextBoxSite
.Text = matchedText;
821
EditableTextBoxSite
.SelectionStart = matchedText.Length - matchedTextInfo.TextExcludingPrefixLength;
822
EditableTextBoxSite
.SelectionLength = matchedTextInfo.TextExcludingPrefixLength;
851
if (
EditableTextBoxSite
!= null &&
EditableTextBoxSite
.Text != text)
853
EditableTextBoxSite
.Text = text;
854
EditableTextBoxSite
.SelectAll();
1078
if (comboBox.IsEditable && comboBox.
EditableTextBoxSite
!= null)
1082
comboBox.
EditableTextBoxSite
.Focus();
1085
else if (e.OriginalSource == comboBox.
EditableTextBoxSite
)
1087
comboBox.
EditableTextBoxSite
.SelectAll();
1244
if (IsEditable &&
EditableTextBoxSite
!= null)
1246
return
EditableTextBoxSite
.HasEffectiveKeyboardFocus;
1319
if (IsEditable && e.OriginalSource ==
EditableTextBoxSite
)
1650
if (
EditableTextBoxSite
!= null)
1652
EditableTextBoxSite
.TextChanged += new TextChangedEventHandler(OnEditableTextBoxTextChanged);
1653
EditableTextBoxSite
.SelectionChanged += new RoutedEventHandler(OnEditableTextBoxSelectionChanged);
1654
EditableTextBoxSite
.PreviewTextInput += new TextCompositionEventHandler(OnEditableTextBoxPreviewTextInput);
1672
if (
EditableTextBoxSite
!= null)
1674
EditableTextBoxSite
.TextChanged -= new TextChangedEventHandler(OnEditableTextBoxTextChanged);
1675
EditableTextBoxSite
.SelectionChanged -= new RoutedEventHandler(OnEditableTextBoxSelectionChanged);
1676
EditableTextBoxSite
.PreviewTextInput -= new TextCompositionEventHandler(OnEditableTextBoxPreviewTextInput);
1749
Visual textBox = comboBox.
EditableTextBoxSite
;
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (4)
567
if (cb != null && cb.
EditableTextBoxSite
!= null)
569
DataGridHelper.CacheFlowDirection(cb.
EditableTextBoxSite
, cb.Parent as DataGridCell);
584
if (cb != null && cb.
EditableTextBoxSite
!= null)
586
DataGridHelper.CacheFlowDirection(cb.
EditableTextBoxSite
, cb.Parent as DataGridCell);