80 references to Up
System.Windows.Forms (39)
System\Windows\Forms\Control.cs (2)
6276case Keys.Up: 12814|| IsKeyDown(Keys.Up, stateArray)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10121case Keys.Up: 15722case Keys.Up: 21974or Keys.Up => true, 24439case Keys.Up:
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1517((e.KeyCode == Keys.Down || e.KeyCode == Keys.Up) && e.Alt)) && 1518(!e.Alt || (e.KeyCode == Keys.Down || e.KeyCode == Keys.Up)) &&
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
93maskedKeyData == Keys.Up ||
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
163case 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)
6691if ((lvkd->wVKey == (short)Keys.Down || lvkd->wVKey == (short)Keys.Up) && SelectedItems.Count > 0) 6705if (lvkd->wVKey == (short)Keys.Up
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (7)
2458if (keyCode == Keys.Up) 2488if (!e.Alt && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down)) 2715if (keyCode == Keys.Up && altPressed && DropDownButton.Visible && (_dropDownHolder is not null) && _dropDownHolder.Visible) 2730case Keys.Up: 2732int position = keyCode == Keys.Up ? _selectedRow - 1 : _selectedRow + 1; 2924&& (keyCode == Keys.Up || keyCode == Keys.Down)) 3893case Keys.Up:
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1269Keys.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)
2782case Keys.Up: 3049case 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)
4396yield return new object[] { Keys.Up, false }; 4426yield return new object[] { Keys.Control | Keys.Up, false }; 4456yield 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)
933keyCode == Keys.Right || keyCode == Keys.Up || 941if ((keyCode == Keys.Left || keyCode == Keys.Right || keyCode == Keys.Down || keyCode == Keys.Up)