5 writes to _textBoxContentHost
PresentationFramework (5)
System\Windows\Controls\Primitives\TextBoxBase.cs (5)
1889
_textBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
1902
_textBoxContentHost
= null;
1916
_textBoxContentHost
= null;
1935
_textBoxContentHost
= null;
1965
_textBoxContentHost
= null;
9 references to _textBoxContentHost
PresentationFramework (9)
System\Windows\Controls\Primitives\TextBoxBase.cs (9)
1768
return
_textBoxContentHost
!= null;
1897
if (
_textBoxContentHost
is ScrollViewer scrollViewer)
1911
else if (
_textBoxContentHost
is Decorator decorator)
1933
if (
_textBoxContentHost
!= null)
1952
if (
_textBoxContentHost
is ScrollViewer)
1954
((ScrollViewer)
_textBoxContentHost
).Content = null;
1956
else if (
_textBoxContentHost
is Decorator)
1958
((Decorator)
_textBoxContentHost
).Child = null;
1962
Invariant.Assert(
_textBoxContentHost
== null, "_textBoxContentHost must be null here");