40 references to AboveLeft
System.Windows.Forms (9)
System\Windows\Forms\ContextMenuStrip.cs (1)
97
Rectangle bounds = CalculateDropDownLocation(new Point(x, y), ToolStripDropDownDirection.
AboveLeft
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
604
direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.
AboveLeft
: ToolStripDropDownDirection.AboveRight;
621
case ToolStripDropDownDirection.
AboveLeft
:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1027
case ToolStripDropDownDirection.
AboveLeft
:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (4)
171
case ToolStripDropDownDirection.
AboveLeft
:
306
case ToolStripDropDownDirection.
AboveLeft
:
648
case ToolStripDropDownDirection.
AboveLeft
:
651
return ToolStripDropDownDirection.
AboveLeft
;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (1)
117
case ToolStripDropDownDirection.
AboveLeft
:
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)
593
ToolStripItem nextItem = (MenuItem.DropDownDirection == ToolStripDropDownDirection.
AboveLeft
||
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 (23)
System\Windows\Forms\ToolStripDropDownTests.cs (5)
1373
yield return new object[] { ToolStripDropDownDirection.
AboveLeft
, ToolStripDropDownDirection.
AboveLeft
};
4986
[InlineData(10, 20, ToolStripDropDownDirection.
AboveLeft
)]
4998
[InlineData(10, 20, ToolStripDropDownDirection.
AboveLeft
)]
5008
if (direction is ToolStripDropDownDirection.
AboveLeft
or ToolStripDropDownDirection.AboveRight)
System\Windows\Forms\ToolStripTests.cs (18)
1675
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1691
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1707
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1723
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1800
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1816
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1832
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1848
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1936
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1952
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1968
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
1984
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
2040
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
2056
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
2072
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
2088
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.
AboveLeft
};
2146
yield return new object[] { ToolStripDropDownDirection.
AboveLeft
, ToolStripDropDownDirection.
AboveLeft
};