3 writes to _passwordBoxContentHost
PresentationFramework (3)
System\Windows\Controls\PasswordBox.cs (3)
938
_passwordBoxContentHost
= GetTemplateChild(ContentHostTemplateName) as FrameworkElement;
981
_passwordBoxContentHost
= null;
1021
_passwordBoxContentHost
= null;
10 references to _passwordBoxContentHost
PresentationFramework (10)
System\Windows\Controls\PasswordBox.cs (10)
947
if (
_passwordBoxContentHost
is ScrollViewer)
949
ScrollViewer scrollViewer = (ScrollViewer)
_passwordBoxContentHost
;
959
else if (
_passwordBoxContentHost
is Decorator)
961
Decorator decorator = (Decorator)
_passwordBoxContentHost
;
979
if (
_passwordBoxContentHost
!= null)
1008
if (
_passwordBoxContentHost
is ScrollViewer)
1010
((ScrollViewer)
_passwordBoxContentHost
).Content = null;
1012
else if (
_passwordBoxContentHost
is Decorator)
1014
((Decorator)
_passwordBoxContentHost
).Child = null;
1018
Invariant.Assert(
_passwordBoxContentHost
== null, "_passwordBoxContentHost must be null here");