80 references to Up
System.Windows.Forms (39)
System\Windows\Forms\Control.cs (2)
6235case Keys.Up: 12782|| IsKeyDown(Keys.Up, stateArray)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10120case Keys.Up: 15705case Keys.Up: 21959or Keys.Up => true, 24419case Keys.Up:
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1521((e.KeyCode == Keys.Down || e.KeyCode == Keys.Up) && e.Alt)) && 1522(!e.Alt || (e.KeyCode == Keys.Down || e.KeyCode == Keys.Up)) &&
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
94maskedKeyData == Keys.Up ||
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
165case Keys.Up:
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1424case Keys.Up:
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
919Keys.Up or Keys.Down or Keys.PageUp or Keys.PageDown or Keys.Home or Keys.End or Keys.Left or Keys.Right => true,
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6687if ((lvkd->wVKey == (short)Keys.Down || lvkd->wVKey == (short)Keys.Up) && SelectedItems.Count > 0) 6701if (lvkd->wVKey == (short)Keys.Up
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (7)
2458if (keyCode == Keys.Up) 2487if (!e.Alt && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down)) 2714if (keyCode == Keys.Up && altPressed && DropDownButton.Visible && (_dropDownHolder is not null) && _dropDownHolder.Visible) 2729case Keys.Up: 2731int position = keyCode == Keys.Up ? _selectedRow - 1 : _selectedRow + 1; 2923&& (keyCode == Keys.Up || keyCode == Keys.Down)) 3893case Keys.Up:
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1277Keys.Up or Keys.Down or Keys.PageUp or Keys.PageDown or Keys.Home or Keys.End or Keys.Left or Keys.Right => true,
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2784case Keys.Up: 3051case Keys.Up:
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
57case Keys.Up:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
573if (isTopLevel && (keyCode == Keys.Down || keyCode == Keys.Up || keyCode == Keys.Enter || (SupportsSpaceKey && keyCode == Keys.Space))) 608if (isTopLevel && (keyCode == Keys.Down || keyCode == Keys.Up))
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (2)
425if (InterceptArrowKeys && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) && !Spinning) 438if (InterceptArrowKeys && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down))
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
598if (e.KeyData == Keys.Up)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1209case Keys.Up:
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
944&& (e.KeyData == Keys.Right || e.KeyData == Keys.Down || e.KeyData == Keys.Left || e.KeyData == Keys.Up)) 952if (_splitterFocused && (e.KeyData == Keys.Left || e.KeyData == Keys.Up)) 1011&& (e.KeyData == Keys.Right || e.KeyData == Keys.Down || e.KeyData == Keys.Left || e.KeyData == Keys.Up)) 2313case Keys.Up:
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
996case Keys.Up:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1014case Keys.Up:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
32new("UP", Keys.Up),
System\Windows\Forms\Shortcut.cs (1)
555AltUpArrow = Keys.Alt + Keys.Up,
System.Windows.Forms.Design (12)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
312if (keyData is (Keys.Alt | Keys.Down) or (Keys.Alt | Keys.Up) or Keys.F4)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
127if (keyData is (Keys.Alt | Keys.Down) or (Keys.Alt | Keys.Up) or Keys.F4)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
219if (e.KeyCode == Keys.Up) 341if (keyData is Keys.Down or Keys.Up)
System\Drawing\Design\ColorEditor.ColorPalette.cs (2)
230Keys.Left or Keys.Right or Keys.Up or Keys.Down or Keys.Enter => true, 290case Keys.Up:
System\Drawing\Design\SelectionPanelBase.cs (1)
69case Keys.Up:
System\Drawing\SelectionPanelBase.SelectionPanelRadioButton.cs (1)
21Keys.Left or Keys.Right or Keys.Up or Keys.Down or Keys.Return => true,
System\Windows\Forms\Design\DesignerFrame.cs (1)
194Keys.Up => (SCROLLBAR_COMMAND.SB_LINEUP, (MessageId)PInvokeCore.WM_VSCROLL),
System\Windows\Forms\Design\NavigationalTableLayoutPanel.cs (1)
31bool up = keyData == Keys.Up;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
30Keys.Right, Keys.S, Keys.Space, Keys.T, Keys.Tab, Keys.U, Keys.Up, Keys.V, Keys.W, Keys.X, Keys.Y, Keys.Z
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1076case Keys.Up:
System.Windows.Forms.Tests (27)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
760KeyboardSimulator.KeyPress(listView, Keys.Up); 815KeyboardSimulator.KeyPress(listView, Keys.Up);
System\Windows\Forms\ComboBoxTests.cs (1)
2596[InlineData(Keys.Up, 9, 9)]
System\Windows\Forms\ControlTests.Methods.cs (3)
4387yield return new object[] { Keys.Up, false }; 4417yield return new object[] { Keys.Control | Keys.Up, false }; 4447yield return new object[] { Keys.Alt | Keys.Up, false };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1024yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.Up, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1025yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Up, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\ListViewTests.cs (3)
4528[InlineData(Keys.Up)] 4593var key = key_s == "Keys.Down" ? Keys.Down : Keys.Up; 4608[InlineData(Keys.Up)]
System\Windows\Forms\PrintPreviewDialogTests.cs (1)
26[InlineData(Keys.Up)]
System\Windows\Forms\TabControlTests.cs (5)
4043yield return new object[] { Keys.Alt | Keys.Up, false }; 4074[InlineData(Keys.Up, false)] 4078[InlineData(Keys.Control | Keys.Up, false)] 4091[InlineData(Keys.Up, true)] 4095[InlineData(Keys.Control | Keys.Up, true)]
System\Windows\Forms\UpDownBaseTests.cs (2)
2359yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.Up), 1, 0, 0, true }; 2360yield return new object[] { false, userEdit, source, new KeyEventArgs(Keys.Up), 0, 0, 0, false };
TextBoxBaseTests.cs (8)
5213[InlineData(true, true, true, Keys.Up, false)] 5214[InlineData(true, true, false, Keys.Up, false)] 5215[InlineData(false, true, true, Keys.Up, false)] 5216[InlineData(false, true, false, Keys.Up, false)] 5244[InlineData(true, true, true, Keys.Up, true)] 5245[InlineData(true, true, false, Keys.Up, true)] 5246[InlineData(false, true, true, Keys.Up, true)] 5247[InlineData(false, true, false, Keys.Up, true)]
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
935keyCode == Keys.Right || keyCode == Keys.Up || 943if ((keyCode == Keys.Left || keyCode == Keys.Right || keyCode == Keys.Down || keyCode == Keys.Up)