3 writes to _weakRefToPreviousFocus
PresentationFramework (3)
src\Framework\System\Windows\Controls\ContextMenu.cs (3)
612
_weakRefToPreviousFocus
= new WeakReference<IInputElement>(Keyboard.FocusedElement);
631
_weakRefToPreviousFocus
= null;
645
_weakRefToPreviousFocus
= null;
2 references to _weakRefToPreviousFocus
PresentationFramework (2)
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
622
if(
_weakRefToPreviousFocus
!= null)
625
if (
_weakRefToPreviousFocus
.TryGetTarget(out previousFocus))