5 writes to _textBoxContentHost
PresentationFramework (5)
System\Windows\Controls\Primitives\TextBoxBase.cs (5)
1892
_textBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
1905
_textBoxContentHost
= null;
1919
_textBoxContentHost
= null;
1938
_textBoxContentHost
= null;
1968
_textBoxContentHost
= null;
9 references to _textBoxContentHost
PresentationFramework (9)
System\Windows\Controls\Primitives\TextBoxBase.cs (9)
1768
return
_textBoxContentHost
!= null;
1900
if (
_textBoxContentHost
is ScrollViewer scrollViewer)
1914
else if (
_textBoxContentHost
is Decorator decorator)
1936
if (
_textBoxContentHost
!= null)
1955
if (
_textBoxContentHost
is ScrollViewer)
1957
((ScrollViewer)
_textBoxContentHost
).Content = null;
1959
else if (
_textBoxContentHost
is Decorator)
1961
((Decorator)
_textBoxContentHost
).Child = null;
1965
Invariant.Assert(
_textBoxContentHost
== null, "_textBoxContentHost must be null here");