88 references to Down
System.Windows.Forms (41)
System\Windows\Forms\Control.cs (2)
6236case Keys.Down: 12783|| IsKeyDown(Keys.Down, stateArray)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10121case Keys.Down: 15690case Keys.Down: 21946or Keys.Down 24424case Keys.Down:
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)
93if (maskedKeyData == Keys.Down ||
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
154case Keys.Down:
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
136PInvokeCore.SendMessage(owner, PInvokeCore.WM_SYSKEYDOWN, (WPARAM)(int)Keys.Down);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1432case Keys.Down:
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) 6690if (lvkd->wVKey == (short)Keys.Down
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
2487if (!e.Alt && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down)) 2708if (keyCode == Keys.Down && altPressed && DropDownButton.Visible) 2730case Keys.Down: 2923&& (keyCode == Keys.Up || keyCode == Keys.Down)) 3894case Keys.Down:
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 (3)
2785case Keys.Down: 3052case Keys.Down: 3056if (keyCode == Keys.Down)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
56case Keys.Down:
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)
605else if (e.KeyData == Keys.Down)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
1210case Keys.Down: 1211if (ProcessArrowKey(keyCode is Keys.Right or Keys.Down))
System\Windows\Forms\Layout\Containers\SplitContainer.cs (5)
944&& (e.KeyData == Keys.Right || e.KeyData == Keys.Down || e.KeyData == Keys.Left || e.KeyData == Keys.Up)) 959if (_splitterFocused && (e.KeyData == Keys.Right || e.KeyData == Keys.Down)) 1011&& (e.KeyData == Keys.Right || e.KeyData == Keys.Down || e.KeyData == Keys.Left || e.KeyData == Keys.Up)) 2314case Keys.Down: 2318Keys.Down))
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
1008case Keys.Down:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1015case Keys.Down:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
33new("DOWN", Keys.Down),
System\Windows\Forms\Shortcut.cs (1)
560AltDownArrow = Keys.Alt + Keys.Down,
System.Windows.Forms.Design (14)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (2)
72if (keyData is Keys.Down && _showSplit) 96if (kevent.KeyCode is Keys.Down && _showSplit)
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)
189if (e.KeyCode == Keys.Down) 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, 293case Keys.Down:
System\Drawing\Design\SelectionPanelBase.cs (1)
72case Keys.Down:
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)
195Keys.Down => (SCROLLBAR_COMMAND.SB_LINEDOWN, (MessageId)PInvokeCore.WM_VSCROLL),
System\Windows\Forms\Design\NavigationalTableLayoutPanel.cs (1)
30bool down = keyData == Keys.Down;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
22Keys.D8, Keys.D9, Keys.Delete, Keys.Down, Keys.E, Keys.End, Keys.F, Keys.F1, Keys.F10, Keys.F11,
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1081case Keys.Down:
System.Windows.Forms.Tests (30)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
810KeyboardSimulator.KeyPress(listView, Keys.Down);
System\Windows\Forms\ComboBoxTests.cs (1)
2597[InlineData(Keys.Down, 9, 0)]
System\Windows\Forms\ControlTests.Methods.cs (3)
4388yield return new object[] { Keys.Down, false }; 4418yield return new object[] { Keys.Control | Keys.Down, false }; 4448yield return new object[] { Keys.Alt | Keys.Down, false };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1022yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.Down, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1023yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Down, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\ListViewTests.cs (3)
4527[InlineData(Keys.Down)] 4593var key = key_s == "Keys.Down" ? Keys.Down : Keys.Up; 4607[InlineData(Keys.Down)]
System\Windows\Forms\PrintPreviewDialogTests.cs (1)
27[InlineData(Keys.Down)]
System\Windows\Forms\TabControlTests.cs (5)
4044yield return new object[] { Keys.Alt | Keys.Down, false }; 4075[InlineData(Keys.Down, false)] 4079[InlineData(Keys.Control | Keys.Down, false)] 4092[InlineData(Keys.Down, true)] 4096[InlineData(Keys.Control | Keys.Down, true)]
System\Windows\Forms\UpDownBaseTests.cs (2)
2361yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.Down), 0, 1, 0, true }; 2362yield return new object[] { false, userEdit, source, new KeyEventArgs(Keys.Down), 0, 0, 0, false };
TextBoxBaseTests.cs (12)
5217[InlineData(true, true, true, Keys.Down, false)] 5218[InlineData(true, true, false, Keys.Down, false)] 5219[InlineData(false, true, true, Keys.Down, false)] 5220[InlineData(false, true, false, Keys.Down, false)] 5221[InlineData(false, true, true, Keys.Down | Keys.Alt, false)] 5222[InlineData(false, true, false, Keys.Down | Keys.Alt, false)] 5248[InlineData(true, true, true, Keys.Down, true)] 5249[InlineData(true, true, false, Keys.Down, true)] 5250[InlineData(false, true, true, Keys.Down, true)] 5251[InlineData(false, true, false, Keys.Down, true)] 5252[InlineData(false, true, true, Keys.Down | Keys.Alt, false)] 5253[InlineData(false, true, false, Keys.Down | Keys.Alt, false)]
WindowsFormsIntegration (3)
System\Windows\Integration\WindowsFormsHost.cs (3)
936keyCode == Keys.Down) 943if ((keyCode == Keys.Left || keyCode == Keys.Right || keyCode == Keys.Down || keyCode == Keys.Up) 947return c.SelectNextControl(this.ActiveControl, keyCode == Keys.Right || keyCode == Keys.Down, false, false, false);