5 writes to _textBoxContentHost
PresentationFramework (5)
System\Windows\Controls\Primitives\TextBoxBase.cs (5)
1966
_textBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
1981
_textBoxContentHost
= null;
1996
_textBoxContentHost
= null;
2015
_textBoxContentHost
= null;
2045
_textBoxContentHost
= null;
11 references to _textBoxContentHost
PresentationFramework (11)
System\Windows\Controls\Primitives\TextBoxBase.cs (11)
1836
return
_textBoxContentHost
!= null;
1974
if (
_textBoxContentHost
is ScrollViewer)
1976
ScrollViewer scrollViewer = (ScrollViewer)
_textBoxContentHost
;
1990
else if (
_textBoxContentHost
is Decorator)
1992
Decorator decorator = (Decorator)
_textBoxContentHost
;
2013
if (
_textBoxContentHost
!= null)
2032
if (
_textBoxContentHost
is ScrollViewer)
2034
((ScrollViewer)
_textBoxContentHost
).Content = null;
2036
else if (
_textBoxContentHost
is Decorator)
2038
((Decorator)
_textBoxContentHost
).Child = null;
2042
Invariant.Assert(
_textBoxContentHost
== null, "_textBoxContentHost must be null here");