5 writes to _textBoxContentHost
PresentationFramework (5)
System\Windows\Controls\Primitives\TextBoxBase.cs (5)
1899
_textBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
1912
_textBoxContentHost
= null;
1926
_textBoxContentHost
= null;
1945
_textBoxContentHost
= null;
1975
_textBoxContentHost
= null;
9 references to _textBoxContentHost
PresentationFramework (9)
System\Windows\Controls\Primitives\TextBoxBase.cs (9)
1772
return
_textBoxContentHost
!= null;
1907
if (
_textBoxContentHost
is ScrollViewer scrollViewer)
1921
else if (
_textBoxContentHost
is Decorator decorator)
1943
if (
_textBoxContentHost
!= null)
1962
if (
_textBoxContentHost
is ScrollViewer)
1964
((ScrollViewer)
_textBoxContentHost
).Content = null;
1966
else if (
_textBoxContentHost
is Decorator)
1968
((Decorator)
_textBoxContentHost
).Child = null;
1972
Invariant.Assert(
_textBoxContentHost
== null, "_textBoxContentHost must be null here");