19 references to DropDownDirection
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (4)
214
ToolStripDropDownDirection dropDownDirection =
DropDownDirection
;
435
_dropDown.Bounds = GetDropDownBounds(
DropDownDirection
);
588
bool menusCascadeRight = (((int)
DropDownDirection
& 0x0001) == 0);
616
bool menusCascadeRight = (((int)
DropDownDirection
& 0x0001) == 0);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (1)
115
switch (ownerItem.
DropDownDirection
)
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (1)
379
if (ownerItem.
DropDownDirection
is ToolStripDropDownDirection.AboveLeft or ToolStripDropDownDirection.AboveRight)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (8)
593
ToolStripItem nextItem = (MenuItem.
DropDownDirection
== ToolStripDropDownDirection.AboveLeft ||
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 (5)
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
47
Assert.Equal(ToolStripDropDownDirection.Default, item.
DropDownDirection
);
136
Assert.Equal(ToolStripDropDownDirection.Default, item.
DropDownDirection
);
235
Assert.Equal(ToolStripDropDownDirection.Default, item.
DropDownDirection
);
340
Assert.Equal(ToolStripDropDownDirection.Default, item.
DropDownDirection
);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
48
Assert.Equal(ToolStripDropDownDirection.Default, item.
DropDownDirection
);