5 writes to _textBoxContentHost
PresentationFramework (5)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (5)
2006
_textBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
2021
_textBoxContentHost
= null;
2036
_textBoxContentHost
= null;
2055
_textBoxContentHost
= null;
2085
_textBoxContentHost
= null;
11 references to _textBoxContentHost
PresentationFramework (11)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (11)
1876
return
_textBoxContentHost
!= null;
2014
if (
_textBoxContentHost
is ScrollViewer)
2016
ScrollViewer scrollViewer = (ScrollViewer)
_textBoxContentHost
;
2030
else if (
_textBoxContentHost
is Decorator)
2032
Decorator decorator = (Decorator)
_textBoxContentHost
;
2053
if (
_textBoxContentHost
!= null)
2072
if (
_textBoxContentHost
is ScrollViewer)
2074
((ScrollViewer)
_textBoxContentHost
).Content = null;
2076
else if (
_textBoxContentHost
is Decorator)
2078
((Decorator)
_textBoxContentHost
).Child = null;
2082
Invariant.Assert(
_textBoxContentHost
== null, "_textBoxContentHost must be null here");