18 references to PointToScreen
PresentationFramework (1)
System\Windows\Controls\TextAdaptor.cs (1)
387point = visual.PointToScreen(point);
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1602Point startPoint = popupPlacementTarget.PointToScreen(new Point()); 1603Point endPoint = popupPlacementTarget.PointToScreen(new Point(popupPlacementTarget.ActualWidth, popupPlacementTarget.ActualHeight));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
359Point mainToggleButtonScreenPosition = PartToggleButton.PointToScreen(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (4)
59Rect rootScreenBounds = new Rect(popupRoot.PointToScreen(new Point()), 60popupRoot.PointToScreen(new Point(popupRoot.RenderSize.Width, popupRoot.RenderSize.Height))); 168Rect targetBoundingBox = new Rect(targetElement.PointToScreen(new Point()), 169targetElement.PointToScreen(new Point(targetElement.RenderSize.Width, targetElement.RenderSize.Height)));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2730focusedOrigin = focusContainer.PointToScreen(new Point()); 2732Point predictedFocusedOrigin = predictedFocus.PointToScreen(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1727Point popupChildOrigin = ribbon.PointFromScreen(ribbonPopupChild.PointToScreen(new Point()));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
1266targetTopLeftCorner = _popup.PlacementTarget.PointToScreen(new Point()); 1270targetTopLeftCorner = this.PointToScreen(new Point()); 1272Point popupBottomRightCorner = popupChild.PointToScreen(new Point(popupChild.RenderSize.Width, popupChild.RenderSize.Height));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1319Point targetTopLeftCorner = this.PointToScreen(new Point()); 1320Point popupTopLeftCorner = popupChild.PointToScreen(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (2)
279devicePoint = rw.PointToScreen(e.GetPosition(rw)); 285devicePoint = rw._clientAreaBorder.PointToScreen(new Point(0, 0));