93 references to Tab
System.Windows.Forms (33)
System\Windows\Forms\Control.cs (5)
6205
int mask = charCode == (char)(int)Keys.
Tab
6235
case Keys.
Tab
:
8930
if (keyCode is not Keys.F10 and not Keys.Menu and not Keys.
Tab
)
8963
if (keyCode == Keys.
Tab
)
12786
return IsKeyDown(Keys.
Tab
, stateArray)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
371
if (PInvoke.GetKeyState((int)Keys.
Tab
) >= 0)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10081
case Keys.
Tab
:
15704
case Keys.
Tab
:
20090
else if (key == Keys.
Tab
)
21958
or Keys.
Tab
24414
case Keys.
Tab
:
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1388
sb.Append(csv ? ',' : (char)Keys.
Tab
);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
199
stringBuilder.Append(csv ? ',' : (char)Keys.
Tab
);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
171
stringBuilder.Append(csv ? ',' : (char)Keys.
Tab
);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1413
case Keys.
Tab
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3223
if ((keyData & Keys.KeyCode) != Keys.
Tab
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
1497
if (_dropDownHolder?.Visible == true && m.MsgInternal == PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal != Keys.
Tab
)
1563
case unchecked((char)(int)(long)Keys.
Tab
):
2027
case Keys.
Tab
:
2698
if (keyCode == Keys.
Tab
)
3828
case Keys.
Tab
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (3)
106
case Keys.
Tab
:
124
Keys.
Tab
or Keys.Return => false,
266
if ((keyData & Keys.KeyCode) == Keys.
Tab
&& ((keyData & (Keys.Control | Keys.Alt)) == 0))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1376
if (ke.KeyCode == Keys.
Tab
&& (ke.KeyData & Keys.Control) != 0)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1330
case Keys.
Tab
:
1408
if (keyCode == Keys.
Tab
&& AcceptsTab && (keyData & Keys.Control) != 0)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
2056
bool forward = LastKeyData == Keys.
Tab
|| (TabStop && start is null && LastKeyData != Keys.Left);
2717
(keyData & Keys.Control) == Keys.Control && (keyData & Keys.KeyCode) == Keys.
Tab
;
2774
case Keys.
Tab
:
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1200
case Keys.
Tab
:
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2304
case Keys.
Tab
:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
25
new("TAB", Keys.
Tab
),
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
104
case Keys.
Tab
:
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
338
&& (keyData & Keys.KeyCode) == Keys.
Tab
)
System\Drawing\Design\SelectionPanelBase.cs (1)
99
if ((keyData & Keys.KeyCode) == Keys.
Tab
&& (keyData & (Keys.Alt | Keys.Control)) == 0)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
310
if ((keyData & Keys.KeyCode) == Keys.
Tab
&& (keyData & (Keys.Alt | Keys.Control)) == 0)
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
264
case Keys.
Tab
:
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1720
case Keys.
Tab
:
System.Windows.Forms.Tests (50)
System\Windows\Forms\ControlTests.Methods.cs (12)
4386
yield return new object[] { Keys.
Tab
, false };
4416
yield return new object[] { Keys.Control | Keys.
Tab
, false };
4446
yield return new object[] { Keys.Alt | Keys.
Tab
, false };
5292
yield return new object[] { 0, Keys.
Tab
, false };
5298
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
Tab
, true };
5304
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
Tab
, true };
5310
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Tab
, false };
5316
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Tab
, false };
5322
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
Tab
, true };
5328
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
Tab
, false };
5334
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Tab
, false };
5340
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Tab
, false };
System\Windows\Forms\MenuStripTests.cs (6)
693
[InlineData(Keys.
Tab
)]
694
[InlineData(Keys.Control & Keys.
Tab
)]
714
[InlineData(Keys.
Tab
, true)]
715
[InlineData(Keys.
Tab
, false)]
716
[InlineData(Keys.Control & Keys.
Tab
, true)]
717
[InlineData(Keys.Control & Keys.
Tab
, false)]
System\Windows\Forms\TabControlTests.cs (3)
3992
yield return new object[] { Keys.
Tab
, false };
4017
yield return new object[] { Keys.Control | Keys.
Tab
, false };
4042
yield return new object[] { Keys.Alt | Keys.
Tab
, false };
System\Windows\Forms\ToolStripTests.cs (10)
4818
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Tab
;
4839
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Tab
;
4864
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.
Tab
;
4885
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.
Tab
;
6915
[InlineData(Keys.
Tab
)]
6916
[InlineData(Keys.Control & Keys.
Tab
)]
6936
[InlineData(Keys.
Tab
, true)]
6937
[InlineData(Keys.
Tab
, false)]
6938
[InlineData(Keys.Control & Keys.
Tab
, true)]
6939
[InlineData(Keys.Control & Keys.
Tab
, false)]
TextBoxBaseTests.cs (19)
5185
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Tab
, multiline && acceptsTab };
5186
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Tab
| Keys.Control, false };
5187
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Tab
| Keys.Alt, false };
6013
[InlineData(true, Keys.
Tab
)]
6014
[InlineData(false, Keys.
Tab
)]
6015
[InlineData(true, Keys.Control | Keys.
Tab
)]
6016
[InlineData(false, Keys.Control | Keys.
Tab
)]
6032
[InlineData(true, Keys.
Tab
)]
6033
[InlineData(false, Keys.
Tab
)]
6034
[InlineData(true, Keys.Control | Keys.
Tab
)]
6035
[InlineData(false, Keys.Control | Keys.
Tab
)]
6053
[InlineData(true, Keys.
Tab
, Keys.
Tab
, true)]
6054
[InlineData(false, Keys.
Tab
, Keys.
Tab
, false)]
6055
[InlineData(true, Keys.Control | Keys.
Tab
, Keys.
Tab
, true)]
6056
[InlineData(false, Keys.Control | Keys.
Tab
, Keys.Control | Keys.
Tab
, false)]
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (2)
469
_hostContainerInternal.ProcessingTabKeyFromElementHost = (keyData & SWF.Keys.
Tab
) == SWF.Keys.
Tab
;
System\Windows\Integration\WindowsFormsHost.cs (1)
934
if (keyCode == Keys.
Tab
|| keyCode == Keys.Left ||