3 writes to _passwordBoxContentHost
PresentationFramework (3)
System\Windows\Controls\PasswordBox.cs (3)
946
_passwordBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
989
_passwordBoxContentHost
= null;
1029
_passwordBoxContentHost
= null;
10 references to _passwordBoxContentHost
PresentationFramework (10)
System\Windows\Controls\PasswordBox.cs (10)
955
if (
_passwordBoxContentHost
is ScrollViewer)
957
ScrollViewer scrollViewer = (ScrollViewer)
_passwordBoxContentHost
;
967
else if (
_passwordBoxContentHost
is Decorator)
969
Decorator decorator = (Decorator)
_passwordBoxContentHost
;
987
if (
_passwordBoxContentHost
!= null)
1016
if (
_passwordBoxContentHost
is ScrollViewer)
1018
((ScrollViewer)
_passwordBoxContentHost
).Content = null;
1020
else if (
_passwordBoxContentHost
is Decorator)
1022
((Decorator)
_passwordBoxContentHost
).Child = null;
1026
Invariant.Assert(
_passwordBoxContentHost
== null, "_passwordBoxContentHost must be null here");