88 references to Down
System.Windows.Forms (41)
System\Windows\Forms\Control.cs (2)
6236
case Keys.
Down
:
12783
|| IsKeyDown(Keys.
Down
, stateArray)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10121
case Keys.
Down
:
15690
case Keys.
Down
:
21946
or Keys.
Down
24424
case 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)
93
if (maskedKeyData == Keys.
Down
||
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
154
case Keys.
Down
:
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
136
PInvokeCore.SendMessage(owner, PInvokeCore.WM_SYSKEYDOWN, (WPARAM)(int)Keys.
Down
);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1432
case Keys.
Down
:
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
919
Keys.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)
6687
if ((lvkd->wVKey == (short)Keys.
Down
|| lvkd->wVKey == (short)Keys.Up) && SelectedItems.Count > 0)
6690
if (lvkd->wVKey == (short)Keys.
Down
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
2487
if (!e.Alt && (e.KeyCode == Keys.Up || e.KeyCode == Keys.
Down
))
2708
if (keyCode == Keys.
Down
&& altPressed && DropDownButton.Visible)
2730
case Keys.
Down
:
2923
&& (keyCode == Keys.Up || keyCode == Keys.
Down
))
3894
case Keys.
Down
:
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1277
Keys.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)
2785
case Keys.
Down
:
3052
case Keys.
Down
:
3056
if (keyCode == Keys.
Down
)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
56
case Keys.
Down
:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
573
if (isTopLevel && (keyCode == Keys.
Down
|| keyCode == Keys.Up || keyCode == Keys.Enter || (SupportsSpaceKey && keyCode == Keys.Space)))
608
if (isTopLevel && (keyCode == Keys.
Down
|| keyCode == Keys.Up))
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (2)
425
if (InterceptArrowKeys && (e.KeyCode == Keys.Up || e.KeyCode == Keys.
Down
) && !Spinning)
438
if (InterceptArrowKeys && (e.KeyCode == Keys.Up || e.KeyCode == Keys.
Down
))
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
605
else if (e.KeyData == Keys.
Down
)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
1210
case Keys.
Down
:
1211
if (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))
959
if (_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))
2314
case Keys.
Down
:
2318
Keys.
Down
))
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
1014
case Keys.
Down
:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1015
case Keys.
Down
:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
33
new("DOWN", Keys.
Down
),
System\Windows\Forms\Shortcut.cs (1)
560
AltDownArrow = Keys.Alt + Keys.
Down
,
System.Windows.Forms.Design (14)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (2)
72
if (keyData is Keys.
Down
&& _showSplit)
96
if (kevent.KeyCode is Keys.
Down
&& _showSplit)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
312
if (keyData is (Keys.Alt | Keys.
Down
) or (Keys.Alt | Keys.Up) or Keys.F4)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
127
if (keyData is (Keys.Alt | Keys.
Down
) or (Keys.Alt | Keys.Up) or Keys.F4)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
189
if (e.KeyCode == Keys.
Down
)
341
if (keyData is Keys.
Down
or Keys.Up)
System\Drawing\Design\ColorEditor.ColorPalette.cs (2)
230
Keys.Left or Keys.Right or Keys.Up or Keys.
Down
or Keys.Enter => true,
293
case Keys.
Down
:
System\Drawing\Design\SelectionPanelBase.cs (1)
72
case Keys.
Down
:
System\Drawing\SelectionPanelBase.SelectionPanelRadioButton.cs (1)
21
Keys.Left or Keys.Right or Keys.Up or Keys.
Down
or Keys.Return => true,
System\Windows\Forms\Design\DesignerFrame.cs (1)
195
Keys.
Down
=> (SCROLLBAR_COMMAND.SB_LINEDOWN, (MessageId)PInvokeCore.WM_VSCROLL),
System\Windows\Forms\Design\NavigationalTableLayoutPanel.cs (1)
30
bool down = keyData == Keys.
Down
;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
22
Keys.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)
1081
case Keys.
Down
:
System.Windows.Forms.Tests (30)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
810
KeyboardSimulator.KeyPress(listView, Keys.
Down
);
System\Windows\Forms\ComboBoxTests.cs (1)
2597
[InlineData(Keys.
Down
, 9, 0)]
System\Windows\Forms\ControlTests.Methods.cs (3)
4388
yield return new object[] { Keys.
Down
, false };
4418
yield return new object[] { Keys.Control | Keys.
Down
, false };
4448
yield return new object[] { Keys.Alt | Keys.
Down
, false };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1022
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.
Down
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1023
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.
Down
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\ListViewTests.cs (3)
4527
[InlineData(Keys.
Down
)]
4593
var 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)
4044
yield 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)
2361
yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.
Down
), 0, 1, 0, true };
2362
yield 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)
936
keyCode == Keys.
Down
)
943
if ((keyCode == Keys.Left || keyCode == Keys.Right || keyCode == Keys.
Down
|| keyCode == Keys.Up)
947
return c.SelectNextControl(this.ActiveControl, keyCode == Keys.Right || keyCode == Keys.
Down
, false, false, false);