14 references to CustomPopupPlacement
PresentationFramework (4)
System\Windows\Controls\Slider.cs (4)
931
return new CustomPopupPlacement[]{new
CustomPopupPlacement
(
940
new
CustomPopupPlacement
(
951
new
CustomPopupPlacement
(
960
new
CustomPopupPlacement
(
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
1359
logicalRightPosition = new
CustomPopupPlacement
(new Point(targetSize.Width, offset.Y), PopupPrimaryAxis.Vertical);
1360
logicalLeftPosition = new
CustomPopupPlacement
(new Point(-popupSize.Width - popupChildMargin, offset.Y), PopupPrimaryAxis.Vertical);
1364
logicalRightPosition = new
CustomPopupPlacement
(new Point(-targetSize.Width - popupSize.Width - popupChildMargin, offset.Y), PopupPrimaryAxis.Vertical);
1365
logicalLeftPosition = new
CustomPopupPlacement
(new Point(- popupChildMargin, offset.Y), PopupPrimaryAxis.Vertical);
1379
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(targetSize.Width, -topEdge), PopupPrimaryAxis.Vertical) };
1384
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(-targetSize.Width - popupSize.Width - popupChildMargin, -topEdge), PopupPrimaryAxis.Vertical) };
1392
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(-popupSize.Width - popupChildMargin, -topEdge), PopupPrimaryAxis.Vertical) };
1397
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(-popupChildMargin, -topEdge), PopupPrimaryAxis.Vertical) };
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (2)
418
CustomPopupPlacement placementPreffered = new
CustomPopupPlacement
(new Point(offsetX, belowOffsetY), PopupPrimaryAxis.Horizontal);
421
CustomPopupPlacement placementFallback = new
CustomPopupPlacement
(new Point(offsetX, aboveOffsetY), PopupPrimaryAxis.Horizontal);