25 references to PopupPrimaryAxis
PresentationFramework (24)
src\Framework\System\Windows\Controls\Primitives\CustomPopupPlacement.cs (3)
15
public CustomPopupPlacement(Point point,
PopupPrimaryAxis
primaryAxis)
40
public
PopupPrimaryAxis
PrimaryAxis
101
private
PopupPrimaryAxis
_primaryAxis;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (17)
2027
PopupPrimaryAxis
bestAxis =
PopupPrimaryAxis
.None;
2060
PopupPrimaryAxis
axis;
2240
PopupPrimaryAxis
nudgeAxis = GetPrimaryAxis(placement);
2244
if (nudgeAxis ==
PopupPrimaryAxis
.Horizontal)
2266
else if (nudgeAxis ==
PopupPrimaryAxis
.Vertical)
2502
private PointCombination GetPointCombination(PlacementMode placement, int i, out
PopupPrimaryAxis
axis)
2512
axis =
PopupPrimaryAxis
.Horizontal;
2527
axis =
PopupPrimaryAxis
.Horizontal;
2545
axis =
PopupPrimaryAxis
.Vertical;
2569
axis =
PopupPrimaryAxis
.Horizontal;
2587
axis =
PopupPrimaryAxis
.None;
2593
axis =
PopupPrimaryAxis
.None;
2601
private static
PopupPrimaryAxis
GetPrimaryAxis(PlacementMode placement)
2607
return
PopupPrimaryAxis
.Vertical;
2613
return
PopupPrimaryAxis
.Horizontal;
2622
return
PopupPrimaryAxis
.None;
src\Framework\System\Windows\Controls\Slider.cs (4)
948
PopupPrimaryAxis
.Horizontal)
957
PopupPrimaryAxis
.Vertical)
968
PopupPrimaryAxis
.Horizontal)
978
PopupPrimaryAxis
.Vertical)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\PropertyContainerPopupHelper.cs (1)
71
return new CustomPopupPlacement[] { new CustomPopupPlacement(new Point(targetSize.Width - popupSize.Width, targetSize.Height),
PopupPrimaryAxis
.Horizontal) };