20 references to PointToScreen
Microsoft.VisualStudio.LanguageServices (1)
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
144
var screenPosition = contentRoot.
PointToScreen
(relativePoint);
PresentationCore (1)
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
319
Point originScreenCoord = _source.RootVisual.
PointToScreen
(new Point(0, 0));
PresentationFramework (1)
System\Windows\Controls\TextAdaptor.cs (1)
384
point = visual.
PointToScreen
(point);
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1599
Point startPoint = popupPlacementTarget.
PointToScreen
(new Point());
1600
Point endPoint = popupPlacementTarget.
PointToScreen
(new Point(popupPlacementTarget.ActualWidth, popupPlacementTarget.ActualHeight));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
357
Point mainToggleButtonScreenPosition = PartToggleButton.
PointToScreen
(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (4)
53
Rect rootScreenBounds = new Rect(popupRoot.
PointToScreen
(new Point()),
54
popupRoot.
PointToScreen
(new Point(popupRoot.RenderSize.Width, popupRoot.RenderSize.Height)));
162
Rect targetBoundingBox = new Rect(targetElement.
PointToScreen
(new Point()),
163
targetElement.
PointToScreen
(new Point(targetElement.RenderSize.Width, targetElement.RenderSize.Height)));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2728
focusedOrigin = focusContainer.
PointToScreen
(new Point());
2730
Point predictedFocusedOrigin = predictedFocus.
PointToScreen
(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1724
Point popupChildOrigin = ribbon.PointFromScreen(ribbonPopupChild.
PointToScreen
(new Point()));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
1263
targetTopLeftCorner = _popup.PlacementTarget.
PointToScreen
(new Point());
1267
targetTopLeftCorner = this.
PointToScreen
(new Point());
1269
Point popupBottomRightCorner = popupChild.
PointToScreen
(new Point(popupChild.RenderSize.Width, popupChild.RenderSize.Height));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1316
Point targetTopLeftCorner = this.
PointToScreen
(new Point());
1317
Point popupTopLeftCorner = popupChild.
PointToScreen
(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (2)
274
devicePoint = rw.
PointToScreen
(e.GetPosition(rw));
280
devicePoint = rw._clientAreaBorder.
PointToScreen
(new Point(0, 0));