2 references to MonitorFromRect
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1607IntPtr monitorPtr = NativeMethods.MonitorFromRect(ref popupPlacementTargetRect, NativeMethods.MONITOR_DEFAULTTONEAREST);
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
168IntPtr monitor = NativeMethods.MonitorFromRect(ref nativeBounds, NativeMethods.MONITOR_DEFAULTTONEAREST);