55 references to AboveRight
System.Windows.Forms (9)
System\Windows\Forms\ContextMenuStrip.cs (1)
105
bounds = CalculateDropDownLocation(new Point(x, y), ToolStripDropDownDirection.
AboveRight
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
604
direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.
AboveRight
;
622
case ToolStripDropDownDirection.
AboveRight
:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1031
case ToolStripDropDownDirection.
AboveRight
:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (4)
172
case ToolStripDropDownDirection.
AboveRight
:
310
case ToolStripDropDownDirection.
AboveRight
:
649
return ToolStripDropDownDirection.
AboveRight
;
650
case ToolStripDropDownDirection.
AboveRight
:
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (1)
118
case ToolStripDropDownDirection.
AboveRight
:
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (1)
379
if (ownerItem.DropDownDirection is ToolStripDropDownDirection.AboveLeft or ToolStripDropDownDirection.
AboveRight
)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (7)
594
MenuItem.DropDownDirection == ToolStripDropDownDirection.
AboveRight
) && index >= 1
775
if (MenuItem.DropDownDirection is ToolStripDropDownDirection.AboveLeft or ToolStripDropDownDirection.
AboveRight
)
850
if (MenuItem.DropDownDirection is ToolStripDropDownDirection.AboveLeft or ToolStripDropDownDirection.
AboveRight
)
1713
if (MenuItem.DropDownDirection is ToolStripDropDownDirection.AboveLeft or ToolStripDropDownDirection.
AboveRight
)
1741
if (MenuItem.DropDownDirection is not ToolStripDropDownDirection.AboveLeft and not ToolStripDropDownDirection.
AboveRight
)
2029
if (MenuItem.DropDownDirection is not ToolStripDropDownDirection.AboveLeft and not ToolStripDropDownDirection.
AboveRight
)
2443
if (MenuItem.DropDownDirection is not ToolStripDropDownDirection.AboveLeft and not ToolStripDropDownDirection.
AboveRight
)
System.Windows.Forms.Tests (38)
System\Windows\Forms\StatusStripTests.cs (1)
54
Assert.Equal(ToolStripDropDownDirection.
AboveRight
, control.DefaultDropDownDirection);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
1374
yield return new object[] { ToolStripDropDownDirection.
AboveRight
, ToolStripDropDownDirection.
AboveRight
};
5008
if (direction is ToolStripDropDownDirection.AboveLeft or ToolStripDropDownDirection.
AboveRight
)
System\Windows\Forms\ToolStripTests.cs (34)
1676
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1677
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1692
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1693
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1708
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1709
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1724
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1725
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1801
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1802
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1817
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1818
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1833
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1834
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1849
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1850
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1937
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1938
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1953
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1954
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1969
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1970
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
1985
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
1986
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
2041
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
2042
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
2057
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
2058
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
2073
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
2074
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
2089
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.
AboveRight
};
2090
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.
AboveRight
};
2147
yield return new object[] { ToolStripDropDownDirection.
AboveRight
, ToolStripDropDownDirection.
AboveRight
};