93 references to Tab
System.Windows.Forms (33)
System\Windows\Forms\Control.cs (5)
6239
int mask = charCode == (char)(int)Keys.
Tab
6269
case Keys.
Tab
:
8964
if (keyCode is not Keys.F10 and not Keys.Menu and not Keys.
Tab
)
8997
if (keyCode == Keys.
Tab
)
12811
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)
10079
case Keys.
Tab
:
15718
case Keys.
Tab
:
20107
else if (key == Keys.
Tab
)
21970
or Keys.
Tab
24431
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
:
2699
if (keyCode == Keys.
Tab
)
3823
case Keys.
Tab
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (3)
106
case Keys.
Tab
:
124
Keys.
Tab
or Keys.Return => false,
269
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)
1322
case Keys.
Tab
:
1400
if (keyCode == Keys.
Tab
&& AcceptsTab && (keyData & Keys.Control) != 0)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
2053
bool forward = LastKeyData == Keys.
Tab
|| (TabStop && start is null && LastKeyData != Keys.Left);
2714
(keyData & Keys.Control) == Keys.Control && (keyData & Keys.KeyCode) == Keys.
Tab
;
2771
case Keys.
Tab
:
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1199
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)
4355
yield return new object[] { Keys.
Tab
, false };
4385
yield return new object[] { Keys.Control | Keys.
Tab
, false };
4415
yield return new object[] { Keys.Alt | Keys.
Tab
, false };
5261
yield return new object[] { 0, Keys.
Tab
, false };
5267
yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.
Tab
, true };
5273
yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.
Tab
, true };
5279
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Tab
, false };
5285
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Tab
, false };
5291
yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.
Tab
, true };
5297
yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.
Tab
, false };
5303
yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.
Tab
, false };
5309
yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.
Tab
, false };
System\Windows\Forms\MenuStripTests.cs (6)
695
[InlineData(Keys.
Tab
)]
696
[InlineData(Keys.Control & Keys.
Tab
)]
716
[InlineData(Keys.
Tab
, true)]
717
[InlineData(Keys.
Tab
, false)]
718
[InlineData(Keys.Control & Keys.
Tab
, true)]
719
[InlineData(Keys.Control & Keys.
Tab
, false)]
System\Windows\Forms\TabControlTests.cs (3)
3994
yield return new object[] { Keys.
Tab
, false };
4019
yield return new object[] { Keys.Control | Keys.
Tab
, false };
4044
yield return new object[] { Keys.Alt | Keys.
Tab
, false };
System\Windows\Forms\ToolStripTests.cs (10)
4820
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Tab
;
4841
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Tab
;
4866
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.
Tab
;
4887
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.
Tab
;
6917
[InlineData(Keys.
Tab
)]
6918
[InlineData(Keys.Control & Keys.
Tab
)]
6938
[InlineData(Keys.
Tab
, true)]
6939
[InlineData(Keys.
Tab
, false)]
6940
[InlineData(Keys.Control & Keys.
Tab
, true)]
6941
[InlineData(Keys.Control & Keys.
Tab
, false)]
TextBoxBaseTests.cs (19)
5187
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Tab
, multiline && acceptsTab };
5188
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Tab
| Keys.Control, false };
5189
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Tab
| Keys.Alt, false };
6015
[InlineData(true, Keys.
Tab
)]
6016
[InlineData(false, Keys.
Tab
)]
6017
[InlineData(true, Keys.Control | Keys.
Tab
)]
6018
[InlineData(false, Keys.Control | Keys.
Tab
)]
6034
[InlineData(true, Keys.
Tab
)]
6035
[InlineData(false, Keys.
Tab
)]
6036
[InlineData(true, Keys.Control | Keys.
Tab
)]
6037
[InlineData(false, Keys.Control | Keys.
Tab
)]
6055
[InlineData(true, Keys.
Tab
, Keys.
Tab
, true)]
6056
[InlineData(false, Keys.
Tab
, Keys.
Tab
, false)]
6057
[InlineData(true, Keys.Control | Keys.
Tab
, Keys.
Tab
, true)]
6058
[InlineData(false, Keys.Control | Keys.
Tab
, Keys.Control | Keys.
Tab
, false)]
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (2)
461
_hostContainerInternal.ProcessingTabKeyFromElementHost = (keyData & SWF.Keys.
Tab
) == SWF.Keys.
Tab
;
System\Windows\Integration\WindowsFormsHost.cs (1)
910
if (keyCode == Keys.
Tab
|| keyCode == Keys.Left ||