3 writes to _weakRefToPreviousFocus
PresentationFramework (3)
System\Windows\Controls\ContextMenu.cs (3)
608
_weakRefToPreviousFocus
= new WeakReference<IInputElement>(Keyboard.FocusedElement);
627
_weakRefToPreviousFocus
= null;
641
_weakRefToPreviousFocus
= null;
2 references to _weakRefToPreviousFocus
PresentationFramework (2)
System\Windows\Controls\ContextMenu.cs (2)
618
if(
_weakRefToPreviousFocus
!= null)
621
if (
_weakRefToPreviousFocus
.TryGetTarget(out previousFocus))