3 writes to _passwordBoxContentHost
PresentationFramework (3)
src\Framework\System\Windows\Controls\PasswordBox.cs (3)
962
_passwordBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
1005
_passwordBoxContentHost
= null;
1045
_passwordBoxContentHost
= null;
10 references to _passwordBoxContentHost
PresentationFramework (10)
src\Framework\System\Windows\Controls\PasswordBox.cs (10)
971
if (
_passwordBoxContentHost
is ScrollViewer)
973
ScrollViewer scrollViewer = (ScrollViewer)
_passwordBoxContentHost
;
983
else if (
_passwordBoxContentHost
is Decorator)
985
Decorator decorator = (Decorator)
_passwordBoxContentHost
;
1003
if (
_passwordBoxContentHost
!= null)
1032
if (
_passwordBoxContentHost
is ScrollViewer)
1034
((ScrollViewer)
_passwordBoxContentHost
).Content = null;
1036
else if (
_passwordBoxContentHost
is Decorator)
1038
((Decorator)
_passwordBoxContentHost
).Child = null;
1042
Invariant.Assert(
_passwordBoxContentHost
== null, "_passwordBoxContentHost must be null here");