13 references to Up
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2060
case ArrowDirection.
Up
:
3067
ToolStripItem? nextItem = GetNextItem(currentSel, ArrowDirection.
Up
);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
258
nextItem = (Owner.IsOnDropDown) ? parent.GetNextItem(Owner, ArrowDirection.
Up
) :
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1655
ArrowDirection.
Up
=>
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
640
ArrowDirection.
Up
=>
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
1446
targetSelection = GetNextItem(parentToMoveOn, item, ArrowDirection.
Up
);
1451
targetSelection = GetNextItem(parentToMoveOn, item, ArrowDirection.
Up
);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ToolStripArrowRenderEventArgsTests.cs (2)
14
Assert.Throws<ArgumentNullException>(() => new ToolStripArrowRenderEventArgs(null, toolStripButton, Rectangle.Empty, Color.Empty, ArrowDirection.
Up
));
81
[InlineData(ArrowDirection.
Up
)]
System\Windows\Forms\ToolStripDropDownTests.cs (2)
4897
ToolStripItem actual = toolStrip.DropDown.GetNextItem(start: null, direction: ArrowDirection.
Up
);
4901
actual = toolStrip.DropDown.GetNextItem(start: items[0], direction: ArrowDirection.
Up
);
System\Windows\Forms\ToolStripRendererTests.cs (2)
35
yield return new object[] { null, Rectangle.Empty, Color.Empty, ArrowDirection.
Up
+ 1 };
37
yield return new object[] { new SubToolStripItem(), new Rectangle(1, 2, 3, 4), Color.Red, ArrowDirection.
Up
+ 1 };