30 references to Down
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2140case ArrowDirection.Down: 3170ToolStripItem? nextItem = GetNextItem(currentSel, ArrowDirection.Down);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
210renderer.DrawArrow(new ToolStripArrowRenderEventArgs(g, this, dropDownArrowRect, arrowColor, ArrowDirection.Down));
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
155DrawArrow(new ToolStripArrowRenderEventArgs(g, item, dropDownRect, arrowColor, ArrowDirection.Down)); 208DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down));
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
262nextItem = (Owner.IsOnDropDown) ? parent.GetNextItem(Owner, ArrowDirection.Down) :
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
175ArrowDirection direction = horizontal ? ArrowDirection.Down : ArrowDirection.Right; 307DrawArrow(new ToolStripArrowRenderEventArgs(g, item, dropDownRect, SystemColors.ControlText, ArrowDirection.Down));
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
394DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down)); 577DrawArrow(new ToolStripArrowRenderEventArgs(g, splitButton, splitButton.DropDownButtonBounds, arrowColor, ArrowDirection.Down)); 630DrawArrow(new ToolStripArrowRenderEventArgs(g, splitButton, dropDownRect, arrowColor, ArrowDirection.Down));
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2054ToolStripItem nextItem = ddi.DropDown.GetNextItem(null, ArrowDirection.Down);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (6)
1337targetSelection = GetNextItem(contextMenu, null, ArrowDirection.Down); 1408targetSelection = GetNextItem(parentToMoveOn, item, ArrowDirection.Down); 1436ToolStripItem firstItem = GetNextItem(parentToMoveOn, null, ArrowDirection.Down); 1883ToolStripItem firstItem = GetNextItem(parent, null, ArrowDirection.Down); 1946targetSelection = GetNextItem(parent, item, ArrowDirection.Down); 2090object newSelection = GetNextItem(overFlowButton.DropDown, null, ArrowDirection.Down);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1815DrawArrow(new ToolStripArrowRenderEventArgs(g, null, bounds, SystemInformation.HighContrast ? Color.Black : SystemColors.ControlText, ArrowDirection.Down)); 2037DrawArrow(new ToolStripArrowRenderEventArgs(g, splitButton, splitButton.DropDownButtonBounds, SystemColors.ControlText, ArrowDirection.Down));
System.Windows.Forms.Tests (10)
System\Windows\Forms\ToolStripArrowRenderEventArgsTests.cs (7)
21yield return new object[] { graphics, null, Rectangle.Empty, Color.Empty, ArrowDirection.Down + 1 }; 22yield return new object[] { graphics, new ToolStripButton(), new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down }; 23yield return new object[] { graphics, new ToolStripButton(), new Rectangle(-1, -2, -3, -4), Color.Blue, ArrowDirection.Down }; 52ToolStripArrowRenderEventArgs e = new(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down) 72ToolStripArrowRenderEventArgs e = new(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down) 80[InlineData((ArrowDirection.Down + 1))] 87ToolStripArrowRenderEventArgs e = new(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
System\Windows\Forms\ToolStripDropDownTests.cs (3)
4905actual = toolStrip.DropDown.GetNextItem(start: null, direction: ArrowDirection.Down); 4909actual = toolStrip.DropDown.GetNextItem(start: items[0], direction: ArrowDirection.Down); 4913actual = toolStrip.DropDown.GetNextItem(start: items[4], direction: ArrowDirection.Down);