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