12 references to CriticalFromHwnd
PresentationCore (9)
MS\Internal\Automation\ElementUtil.cs (1)
150HwndSource hwndSource = HwndSource.CriticalFromHwnd(hwnd);
System\Windows\Input\AccessKeyManager.cs (1)
475return HwndSource.CriticalFromHwnd(hwnd);
System\Windows\Input\MouseDevice.cs (1)
2119sourceHit = HwndSource.CriticalFromHwnd(hwndHit);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
2956sourceHit = HwndSource.CriticalFromHwnd(hwndHit); 3533HwndSource sourceHit = HwndSource.CriticalFromHwnd(hwnd);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1544HwndSource newHwndSource = HwndSource.CriticalFromHwnd(hwndHit);
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
736HwndSource hwndSource = HwndSource.CriticalFromHwnd(hwnd);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1185hwndSource = HwndSource.CriticalFromHwnd(hwnd);
System\Windows\InterOp\HwndSource.cs (1)
666return CriticalFromHwnd(hwnd);
PresentationFramework (3)
System\Windows\Controls\Primitives\MenuBase.cs (1)
611HwndSource hwndSourceWithFocus = hwndWithFocus != IntPtr.Zero ? HwndSource.CriticalFromHwnd(hwndWithFocus) : null;
System\Windows\Controls\Primitives\Popup.cs (1)
3006parent = HwndSource.CriticalFromHwnd(ParentHandle);
System\Windows\Input\KeyboardNavigation.cs (1)
3279source = HwndSource.CriticalFromHwnd(activeWindow);