62 references to Left
System.Windows.Forms (29)
System\Windows\Forms\Control.cs (2)
6274
case Keys.
Left
:
12816
|| IsKeyDown(Keys.
Left
, stateArray)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2499
Keys.Home or Keys.End or Keys.
Left
or Keys.Right => true,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10123
case Keys.
Left
:
15716
case Keys.
Left
:
21968
or Keys.
Left
24459
case Keys.
Left
:
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
140
case Keys.
Left
:
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1425
case Keys.
Left
:
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\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
2503
else if ((e.KeyCode == Keys.
Left
|| e.KeyCode == Keys.Right)
2736
case Keys.
Left
:
3895
case Keys.
Left
:
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1269
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)
2054
bool forward = LastKeyData == Keys.Tab || (TabStop && start is null && LastKeyData != Keys.
Left
);
2780
case Keys.
Left
:
3045
case Keys.
Left
:
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1291
if (keyCode is Keys.
Left
or Keys.Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
590
forward = (forward || (menusCascadeRight && keyCode == Keys.
Left
) || (!menusCascadeRight && keyCode == Keys.Right));
617
bool backward = ((menusCascadeRight && keyCode == Keys.Right) || (!menusCascadeRight && keyCode == Keys.
Left
));
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1207
case Keys.
Left
:
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))
952
if (_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))
2311
case Keys.
Left
:
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
1034
case Keys.
Left
:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1012
case Keys.
Left
:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
30
new("LEFT", Keys.
Left
),
System\Windows\Forms\Shortcut.cs (1)
550
AltLeftArrow = Keys.Alt + Keys.
Left
,
System.Windows.Forms.Design (8)
System\Drawing\Design\ColorEditor.ColorPalette.cs (2)
230
Keys.
Left
or Keys.Right or Keys.Up or Keys.Down or Keys.Enter => true,
284
case Keys.
Left
:
System\Drawing\Design\SelectionPanelBase.cs (1)
75
case Keys.
Left
:
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)
200
Keys.
Left
=> (SCROLLBAR_COMMAND.SB_LINEUP, (MessageId)PInvokeCore.WM_HSCROLL),
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (1)
76
case Keys.
Left
:
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (2)
25
Keys.G, Keys.H, Keys.I, Keys.Insert, Keys.J, Keys.K, Keys.L, Keys.
Left
, Keys.M, Keys.N, Keys.NumLock,
274
case Keys.
Left
:
System.Windows.Forms.Tests (23)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (3)
761
KeyboardSimulator.KeyPress(listView, Keys.
Left
);
766
KeyboardSimulator.KeyPress(listView, Keys.
Left
);
825
KeyboardSimulator.KeyPress(listView, Keys.
Left
);
System\Windows\Forms\ComboBoxTests.cs (1)
2774
public void OnKeyUp() => base.OnKeyUp(new KeyEventArgs(Keys.
Left
));
System\Windows\Forms\ControlTests.Methods.cs (3)
4398
yield return new object[] { Keys.
Left
, false };
4428
yield return new object[] { Keys.Control | Keys.
Left
, false };
4458
yield return new object[] { Keys.Alt | Keys.
Left
, false };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1020
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.
Left
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1021
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.
Left
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\ListViewTests.cs (1)
5474
[InlineData(Keys.
Left
)]
System\Windows\Forms\PrintPreviewDialogTests.cs (1)
24
[InlineData(Keys.
Left
)]
System\Windows\Forms\TabControlTests.cs (5)
4045
yield return new object[] { Keys.Alt | Keys.
Left
, false };
4076
[InlineData(Keys.
Left
, false)]
4080
[InlineData(Keys.Control | Keys.
Left
, false)]
4093
[InlineData(Keys.
Left
, true)]
4097
[InlineData(Keys.Control | Keys.
Left
, true)]
System\Windows\Forms\ToolStripTests.cs (1)
7297
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Left
;
System\Windows\Forms\UpDownBaseTests.cs (2)
2363
yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.
Left
), 0, 0, 0, false };
2364
yield return new object[] { false, userEdit, source, new KeyEventArgs(Keys.
Left
), 0, 0, 0, false };
TextBoxBaseTests.cs (4)
5209
[InlineData(true, true, true, Keys.
Left
, false)]
5210
[InlineData(true, true, false, Keys.
Left
, false)]
5240
[InlineData(true, true, true, Keys.
Left
, true)]
5241
[InlineData(true, true, false, Keys.
Left
, true)]
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
932
if (keyCode == Keys.Tab || keyCode == Keys.
Left
||
941
if ((keyCode == Keys.
Left
|| keyCode == Keys.Right || keyCode == Keys.Down || keyCode == Keys.Up)