14 references to CustomPopupPlacement
PresentationFramework (4)
System\Windows\Controls\Slider.cs (4)
942
return new CustomPopupPlacement[]{new
CustomPopupPlacement
(
951
new
CustomPopupPlacement
(
962
new
CustomPopupPlacement
(
971
new
CustomPopupPlacement
(
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
1362
logicalRightPosition = new
CustomPopupPlacement
(new Point(targetSize.Width, offset.Y), PopupPrimaryAxis.Vertical);
1363
logicalLeftPosition = new
CustomPopupPlacement
(new Point(-popupSize.Width - popupChildMargin, offset.Y), PopupPrimaryAxis.Vertical);
1367
logicalRightPosition = new
CustomPopupPlacement
(new Point(-targetSize.Width - popupSize.Width - popupChildMargin, offset.Y), PopupPrimaryAxis.Vertical);
1368
logicalLeftPosition = new
CustomPopupPlacement
(new Point(- popupChildMargin, offset.Y), PopupPrimaryAxis.Vertical);
1382
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(targetSize.Width, -topEdge), PopupPrimaryAxis.Vertical) };
1387
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(-targetSize.Width - popupSize.Width - popupChildMargin, -topEdge), PopupPrimaryAxis.Vertical) };
1395
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(-popupSize.Width - popupChildMargin, -topEdge), PopupPrimaryAxis.Vertical) };
1400
return new CustomPopupPlacement[] { new
CustomPopupPlacement
(new Point(-popupChildMargin, -topEdge), PopupPrimaryAxis.Vertical) };
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (2)
421
CustomPopupPlacement placementPreffered = new
CustomPopupPlacement
(new Point(offsetX, belowOffsetY), PopupPrimaryAxis.Horizontal);
424
CustomPopupPlacement placementFallback = new
CustomPopupPlacement
(new Point(offsetX, aboveOffsetY), PopupPrimaryAxis.Horizontal);