63 references to Right
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (2)
6239
case Keys.
Right
:
12790
|| IsKeyDown(Keys.
Right
, stateArray)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2497
Keys.Home or Keys.End or Keys.Left or Keys.
Right
=> true,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10123
case Keys.
Right
:
15702
case Keys.
Right
:
21956
or Keys.
Right
24444
case Keys.
Right
:
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
131
case Keys.
Right
:
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1433
case Keys.
Right
:
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)
2502
else if ((e.KeyCode == Keys.Left || e.KeyCode == Keys.
Right
)
2754
case Keys.
Right
:
3901
case Keys.
Right
:
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)
2783
case Keys.
Right
:
3048
case Keys.
Right
:
3049
retVal = ProcessLeftRightArrowKey(keyCode == Keys.
Right
);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1294
if (keyCode is Keys.Left or Keys.
Right
)
1296
bool forward = keyCode == 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 (2)
1208
case Keys.
Right
:
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))
2312
case Keys.
Right
:
2317
if (ProcessArrowKey(keyCode is Keys.
Right
or
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
1046
case Keys.
Right
:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1013
case Keys.
Right
:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
31
new("RIGHT", Keys.
Right
),
System\Windows\Forms\Shortcut.cs (1)
545
AltRightArrow = Keys.Alt + Keys.
Right
,
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,
287
case Keys.
Right
:
System\Drawing\Design\SelectionPanelBase.cs (1)
78
case Keys.
Right
:
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)
201
Keys.
Right
=> (SCROLLBAR_COMMAND.SB_LINEDOWN, (MessageId)PInvokeCore.WM_HSCROLL),
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (1)
77
case Keys.
Right
:
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (2)
30
Keys.
Right
, Keys.S, Keys.Space, Keys.T, Keys.Tab, Keys.U, Keys.Up, Keys.V, Keys.W, Keys.X, Keys.Y, Keys.Z
286
case Keys.
Right
:
System.Windows.Forms.Tests (20)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
772
KeyboardSimulator.KeyPress(listView, Keys.
Right
);
777
KeyboardSimulator.KeyPress(listView, Keys.
Right
);
System\Windows\Forms\ControlTests.Methods.cs (3)
4390
yield return new object[] { Keys.
Right
, false };
4420
yield return new object[] { Keys.Control | Keys.
Right
, false };
4450
yield return new object[] { Keys.Alt | Keys.
Right
, false };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1018
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.
Right
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1019
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.
Right
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\ListViewTests.cs (1)
5473
[InlineData(Keys.
Right
)]
System\Windows\Forms\PrintPreviewDialogTests.cs (1)
25
[InlineData(Keys.
Right
)]
System\Windows\Forms\TabControlTests.cs (5)
4046
yield return new object[] { Keys.Alt | Keys.
Right
, false };
4077
[InlineData(Keys.
Right
, false)]
4081
[InlineData(Keys.Control | Keys.
Right
, false)]
4094
[InlineData(Keys.
Right
, true)]
4098
[InlineData(Keys.Control | Keys.
Right
, true)]
System\Windows\Forms\UpDownBaseTests.cs (2)
2365
yield return new object[] { true, userEdit, source, new KeyEventArgs(Keys.
Right
), 0, 0, 0, false };
2366
yield return new object[] { false, userEdit, source, new KeyEventArgs(Keys.
Right
), 0, 0, 0, false };
TextBoxBaseTests.cs (4)
5211
[InlineData(true, true, true, Keys.
Right
, false)]
5212
[InlineData(true, true, false, Keys.
Right
, false)]
5242
[InlineData(true, true, true, Keys.
Right
, true)]
5243
[InlineData(true, true, false, Keys.
Right
, true)]
WindowsFormsIntegration (3)
System\Windows\Integration\WindowsFormsHost.cs (3)
935
keyCode == Keys.
Right
|| keyCode == Keys.Up ||
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);